Вопрос

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.

Это было полезно?

Решение

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

Другие советы

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;}

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top