djoshi
Posts: 61
Joined: Fri Mar 26, 2021 5:16 pm

Change the colour of the label below the plot

Hi

How do I change the colour of the labels below the plots. These are currently black, which makes them difficult to read?
highchart.png
highchart.png (36.8 KiB) Viewed 316 times
Image
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: Change the colour of the label below the plot

Hi,

Thanks for contacting us with your question!

To change styles of legend items you need to edit legend.itemStyle .

Demo:
https://jsfiddle.net/BlackLabel/st5mp81n/

API Reference:
https://api.highcharts.com/highcharts/legend.itemStyle

Let me know if you have any further questions,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Stock”