-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different font colors for different point labels? #5074
Comments
This isn't currently possible. It would require modifying the scale to support an array (or function) for the point label font options and the modifying the fit and render code in https://github.com/chartjs/Chart.js/blob/master/src/scales/scale.radialLinear.js to support these arrays. |
Hi, Thanks |
Is this feature still needed? I'd like to give it a shot if someone could point me in the right direction! |
According to the source code, it works if you pass the array of colors to the
|
An array of colours is supported and is the best way to achieve this. We may look at allowing functions to be passed for these parameters in the future. |
Hi again Chart.js,
Related to my earlier question about connecting a radar chart points with missing data, is it possible to give those point labels a different font color where the data is missing? For example, I would like to make the labels for points with no data gray. Happy holidays!
Sincerely,
Laura
The text was updated successfully, but these errors were encountered: