[Chartjs]-How can I style scale numbers in a Polar Area chart (chart.js)

0👍

Charts.js produces a bit mapped image of a chart on a canvas element. Canvas elements are not subdivided into component elements that can individually styled using CSS (which is used for styling document elements in the DOM).

Styling of chart elements is actually achieved using canvas drawing options when the element is painted. Charts.js allows you to specify these.

A quick tour of documentation suggests you can specify the appearance of legend text using legend configuration options.

Worth looing into, the HTML legend call back may provide the means of making painted legends respond to CSS styling. See this related question Custom Legend with ChartJS v2.0

Leave a comment