Home Forums Feature Requests & Feedback Load CanvasJS with JSON

Load CanvasJS with JSON

Viewing 3 posts - 1 through 3 (of 3 total)
  • #21378

    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..

    #21584

    @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

    #22023

    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

    • This reply was modified 6 years, 4 months ago by yansonalvin97.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.