Home › forums › Feature Requests & Feedback › Load CanvasJS with JSON
This topic contains 2 replies, has 2 voices, and was last updated by yansonalvin97 9 months, 4 weeks ago.
Hi Vishwas, I am wondering why is it the label in my chart is not working properly. Please see my jsfiddle. Why is it that the label is duplicated, particularly 2018-2019 label. The other 2018-2019 should be 2015-2016 base on my JSON but I’m getting a duplicate. Can you help me ?
In the jsfiddle provided, a dataSeries is created for every unique ‘grade’. In that case, the first dataSeries has 4 dataPoints where as the remaining 5 dataSeries has 3 dataPoints each, for which the axisX labels are rendered accordingly. Also in any multiseries chart, the labels rendered along axisX will be that of the last dataSeries. Because of which you can see the label ‘2018-2019’ repeated. By disabling shared tootTip, you can observe this behavior clearly.
Priyanka M S
Hi thanks for the reply, So is there any way how can I resolve this issue? Thank you. Lastly can you simplify what is exactly the mistake in the chart? Sorry for the interruption
You must be logged in to reply to this topic.