Chart Dataset label color

0
0

How can I change Chart Datasets caption color ?  Example Blue , Red

Attachment
  • You must to post comments
0
0

You might want to update the date and time for the extension so people know it has been updated.

  • You must to post comments
0
0

ChartJS uses the first color of the BackgroundColor array set in the DataSet. See screenshot below (seems to work only at runtime).

We have also updated the ChartJS extension to support BorderColor, BorderWidth, HoverBackgroundColor and to use a single color for all the data points when the array only contains 1 color. You can download the updated extension in the downloads/extensions page.

HTH

 

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.