Javascript examples for highcharts:Area Chart
Filling the data gaps with a gray area
<html> <head> <title>Support: Forum</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(function() {/*from w w w . j a v a 2 s.c o m*/ $('#container').highcharts({ series: [{ data: [4, 5, null, 3, 5] }], xAxis: { categories: ['A', 'B', 'C', 'D', 'E'], plotBands: [{ from: 1, to: 3, color: 'grey' }] } }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div> </body> </html>