Home › forums › Feature Requests & Feedback › Load CanvasJS with JSON
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 1 week 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
You must be logged in to reply to this topic.