var chart = new CanvasJS.Chart("chartContainer",
{
title: {
text: "Axis Y with maximum"
},
axisY:{
maximum: undefined
},
data: [
{
type: "column",
dataPoints: [
{ x: 100, y: 71 },
{ x: 200, y: 55},
{ x: 300, y: 50 },
{ x: 400, y: 65 },
{ x: 500, y: 95 },
{ x: 600, y: 68 },
{ x: 700, y: 28 },
{ x: 800, y: 34 },
{ x: 900, y: 14}
]
}
]
});
chart.render();
}