Hello, Good day!, Consider below example. { label: “Difference Jan 2016-17”, y: 500 } should show from 1000 to 1500. Can you please let me know how to do that. Thanks. Saran
<!DOCTYPE HTML>
<html>
<head>
<script src="https://cdn.canvasjs.com/canvasjs.min.js"></script>
<script type="text/javascript">
window.onload = function () {
var chart = new CanvasJS.Chart("chartContainer", {
title:{
text: "Sales Comparision"
},
data: [
{
type: "column",
dataPoints: [
{ label: "January 2016", y: 1000 },
{ label: "January 2017", y: 1500 },
{ label: "Difference Jan 2016-17", y: 500 }
]
}
]
});
chart.render();
}
</script>
</head>
<body>
<div id="chartContainer" style="height: 300px; width: 100%;"></div>
</body>
</html>