Javascript examples for highcharts:Area Chart
Area between two y values highlighted for area range chart
<html> <head> <title>Highcharts test tool</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function(){/*from ww w . j a v a2s . c o m*/ $(function () { $.getJSON('https://www.highcharts.com/samples/data/jsonp.php?filename=range.json&callback=?', function(data) { window.chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'arearange' }, title: { text: 'Temperature variation by day' }, xAxis: { type: 'datetime' }, yAxis: { title: { text: null } }, tooltip: { crosshairs: true, shared: true, valueSuffix: '?C' }, plotOptions: { arearange: { marker: { enabled: true } } }, legend: { enabled: false }, series: [{ name: 'Temperatures', data: data }] }); }); }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/highcharts-more.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div> </body> </html>