Sets the maximum value permitted on Axis. Values greater than maximum are clipped. maximum also sets the upper limit while panning chart.
Automatically Calculated based on the data
- If maximum value is not set, it is automatically calculated.
- While setting maximum, it should be taken care that maximum should be greater than minimum.
- maximum supports dateTime values in the form of Date object or a timeStamp.
var chart = new CanvasJS.Chart("container",