Question

I am using dc.js row chart. Something exactly like the day of the week chart in the example of this page

Can someone please suggest how can I change the label colors from white to black.

Was it helpful?

Solution

I your CSS, use .dc-chart g.row text {fill: black;}.

OTHER TIPS

Furthermore, for those who try with pie charts, the selector for labels is without the g.row. i.e. : .dc-chart text.pie-slice {fill: black;}

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top