Issue when changing the font color of texts in Chart JS?

0
Hi all,   I want to change the the color of the font (title, texts at the x and y axis) and when looking in the widget in the barchart.css I see that it is the same color as the color of gridlines. When I change the color of gridlines in the widget, the color is still not changed...do i something wrong?
asked
3 answers
0

try adding a custom class to the widget and specify a new stylesheet which is more specific in styling then the widget barchart.css.

This will make sure the new styling will be applied. The widget won't update the css based on a property setting.

answered
0

I think the current version of the ChartJS widget renders almost everything into a canvas element.

That means you cannot change it with CSS;

answered
0

The ChartJS widget implementation allows only setting of the line color in the Multi or Single SeriesDataset entity. The underlying library of the widget used the same hardcoded #666 color for both font and line colors.

answered