Home › forums › Using CanvasJS › IndexLabel in Line chart like dougnet
This topic contains 3 replies, has 3 voices, and was last updated by Vishwas R 1 month, 4 weeks ago.
I have shared an image link, please see it.
image URL: https://imgur.com/SvcPM1r
1.can I show indexLabel in Line chart like a doughnut chart (need a small line to connect to the data point. label placement outside is not working as expected in Line chart) please help ASAP.
You can set indexLabelLineThickness to show lines drawn from dataPoint to the indexLabel, which defaults to 0 in every chart-type except pie/doughnut. Please take a look at this jsfiddle.
If you specifically looking to show lines downwards, you can do so with couple of lines of code. Please take a look at this jsfiddle.
HOw to post question in here?
You can post your question in forum by clicking ‘Ask Question’ button available in the top of the page in every forum. Please refer the screenshot below.
You must be logged in to reply to this topic.