can’t change the font color of labels chartkick ruby on rails

assuming you’re creating a BarChart from Google Charts,
see the configuration options

for the legend, need to use –> legend.textStyle — (not legend.labels)
and the following options do not exist…

legend.textStyle.backgroundColor
legend.textStyle.fontColor

for font color, use –> color

legend: { position: "left", textStyle: { fontSize: 16, color: "#fff"} }

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top