Basic Column Chart - CanvasJS

Basic Column Chart

HTML

<script src="https://cdn.canvasjs.com/canvasjs.min.js"></script>
<div id="chartContainer" style="height: 200px; width: 100%;"></div>

JavaScript

var chart = new CanvasJS.Chart("chartContainer", {
  toolTip: {
  	enabled: true,
    shared: true,
   },
  data: [
  {
    type: "stackedArea",
    dataPoints: [
      { x: 10, y: 71 },
      { x: 20, y: 50 },
      { x: 30, y: 60 },
      { x: 40, y: null },
      { x: 50, y: 95 },
      { x: 60, y: 68 },
      { x: 70, y: 28 },
      { x: 80, y: 34 },
      { x: 90, y: 14}
    ]
  },
  {
    type: "stackedArea",
    dataPoints: [
      { x: 10, y: 71 },
      { x: 20, y: 50 },
      { x: 30, y: 60 },
      { x: 40, y: null },
      { x: 50, y: 95 },
      { x: 60, y: 68 },
      { x: 70, y: 28 },
      { x: 80, y: 34 },
      { x: 90, y: 14}
    ]
  },
  {
		type: "scatter",
    markerType: "square",
    markerSize: 20,
    
		dataPoints: [
    	{ x: 40, y: null }, 
    	{ x: 75, y:150, markerColor:"red", toolTipContent: "bug" },
    ]
	}
  ]
});
chart.render();