Multiseries Range Column Chart with Line Chart and DateTime axis - CanvasJS JavaScript Charts

Multiseries Range Column Chart with Line Chart and DateTime axis - CanvasJS JavaScript Charts

by canvasjs

HTML

<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
<br/><!-- Just so that JSFiddle's Result label doesn't overlap the Chart -->
<div id="chartContainer" style="height: 360px; width: 100%;"></div>

JavaScript

var chart = new CanvasJS.Chart("chartContainer",
	{
    	axisX:{
      	title:"Time in Hours",
        interval: 1,
        intervalType:"hour",
        minimum: new Date (2016, 01, 01, 00, 00),
        maximum: new Date (2016, 01, 02, 00, 15),
        gridThickness: 2,
        labelFontColor:"black",
        labelFontSize:12,        
        valueFormatString: "hTT"
      },
      axisY:{      	
      	interval: 10,
        maximum: 40,
      	gridThickness: 2,
        labelFontColor:"black",
        labelFontSize:12,
      },  
      dataPointWidth: 2,
      data: [
      {
        type: "rangeColumn",
        color:"black",
        dataPoints: [
        {x: new Date (2016, 01, 01, 00, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 00, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 00, 45), y: [0,3]},
        {x: new Date (2016, 01, 01, 01, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 01, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 01, 45), y: [0,3]},        
        {x: new Date (2016, 01, 01, 02, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 02, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 02, 45), y: [0,3]},
        {x: new Date (2016, 01, 01, 03, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 03, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 03, 45), y: [0,3]},
        {x: new Date (2016, 01, 01, 04, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 04, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 04, 45), y: [0,3]},        
        {x: new Date (2016, 01, 01, 05, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 05, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 05, 45), y: [0,3]},
        {x: new Date (2016, 01, 01, 06, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 06, 30), y: [0,5]},
        {x: new Date (2016, 01, 01, 06, 45), y: [0,3]},
        {x: new Date (2016, 01, 01, 07, 15), y: [0,3]},
        {x: new Date (2016, 01, 01, 07, 30), y: [0,5]},
        {x: new Date (2016, 01, 01,...