Page 1 of 1

Fix alignment of label of plot lines

Posted: Thu Dec 02, 2021 6:46 pm
by Harshad_919
Hello

I am plotting the solid gauge chart with one plotline which has the label to show the value of that target line. So for some values, this label is plotted inside/outside/on arc of the solid gauge chart. So how can I show this label always outside of arc?
Please refer to the attached image and jsfiddle : https://jsfiddle.net/qchLz5d8/

Re: Fix alignment of label of plot lines

Posted: Thu Dec 02, 2021 8:54 pm
by magdalena
Hi,

Thanks for contacting us with your question!

You can achieve this by changing plotLines.label properties, among others x,y, align. You can find more information in the following links.

API Reference:
https://api.highcharts.com/highcharts/y ... ines.label

Example Demo:
https://jsfiddle.net/BlackLabel/239bxdan/

Let me know if you have any further questions,
Regards!