maximum - Sets Maximum Value of Axis Y - 0 | JSFiddle Sample Code

maximum - Sets Maximum Value of Axis Y - 0 | JSFiddle Sample Code

HTML

<script src="https://cdn.canvasjs.com/canvasjs.min.js"></script>

  <div id="chartContainer" style="height: 300px; width: 100%;">
  </div>
<div style="margin-top:16px;color:dimgrey;font-size:9px;font-family: Verdana, Arial, Helvetica, sans-serif;text-decoration:none;">Source: <a href="https://canvasjs.com/docs/charts/chart-options/axisy/maximum/" target="_blank" title="maximum - Sets Maximum Value of Axis Y ">https://canvasjs.com/docs/charts/chart-options/axisy/maximum/</a></div>

JavaScript

window.onload = function () {
    var chart = new CanvasJS.Chart("chartContainer",
    {
      title: {
        text: "Axis Y with maximum 80"
      },
      axisY:{
	  includeZero: true,
      minimum: 0,
      maximum: 100
     },
      data: [
      {
        type: "column",
        dataPoints: [
        { x: 100, y: 71 },
        { x: 200, y: 1688551280204000},
        { 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();
  }