score:1

Accepted answer

The issue you're having stems from the fact that you are adding a y-axis as a categoryAxis instead of a measureAxis. If you change y to a measureAxis, then your code works perfectly:

var y = chart.addMeasureAxis("y", "Value");

Here's a screenshot of the result:

enter image description here


Related Query