You must be logged in to post your query.
Home › Forums › Feature Requests & Feedback › Load CanvasJS with JSON
Tagged: JSON
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 ? Thank you..
@yansonalvin97,
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 Team CanvasJS
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. Login/Register