Ok, but your code hardcode the maximum value of y-axis. We can find the maximum value by iterating over each data point.
But is there any inbuilt feature for finding the maximum value. And how much offset to take for y-axis maximum value?
And, how to handle the same problem for stacked column chart like this?
Thank u very much
See this link jsfiddle
See the console. It says $(…).CanvasJS is not a function
It is not workin @Sanjoy