You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently dc.css contains a mix of chart layout and stuff specific to the example/demo. When it is included in an application without modifying, it results in side-effects.
Would it be possible to split this into two files? One general purpose dc.css that sets nice style defaults for classes .chart, .pie-slice, etc, and which can directly be included in applications? And then another one with stuff that is specific to your demo/examples?
Also, .chart is a very general purpose term. Maybe it would be better to do .dc-chart or add two classes .dc.chart. You could automatically add these classes to the element when the chart is initiated through dc.barChart or dc.pieChart.
The text was updated successfully, but these errors were encountered:
Yeah, thats a good idea. Originally I created this css file mainly just for the example but as the library grows it is not realistic to expect user to recreate their own stylesheet from scratch. I will try to do that in 0.9 release.
Currently
dc.css
contains a mix of chart layout and stuff specific to the example/demo. When it is included in an application without modifying, it results in side-effects.Would it be possible to split this into two files? One general purpose
dc.css
that sets nice style defaults for classes .chart, .pie-slice, etc, and which can directly be included in applications? And then another one with stuff that is specific to your demo/examples?Also,
.chart
is a very general purpose term. Maybe it would be better to do.dc-chart
or add two classes.dc.chart
. You could automatically add these classes to the element when the chart is initiated throughdc.barChart
ordc.pieChart
.The text was updated successfully, but these errors were encountered: