heatmap loading data - Javascript highcharts

Javascript examples for highcharts:Heatmap Chart

Description

heatmap loading data

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>Highcharts Demo</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.js"></script> 
      <script src="https://code.highcharts.com/modules/heatmap.js"></script> 
      <script src="https://code.highcharts.com/modules/exporting.js"></script> 
      <div id="container" style="height: 400px; min-width: 310px; max-width: 800px; margin: 0 auto"></div> 
      <script type="text/javascript">
Highcharts.chart('container', {
  chart: {//from w ww.j  a  va  2  s .  co  m
    type: 'heatmap'
  },
  xAxis: {
    categories: [
      "02/27/2018"
    ]
  },
  series: [{
    data: [
      [0, 0, 2.5],
      [0, 1, 2.6]
    ]
  }]
});

      </script>  
   </body>
</html>

Related Tutorials