Javascript examples for highcharts:Chart Series
use null value in series
<html> <head> <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 () {/* w w w . java 2s .co m*/ $('#container').highcharts({ chart: { type: 'spline' }, title: { text: 'Average fruit consumption during one week' }, series: [{ data: [3, 4, 3] }, { type: 'areaspline', data: [null,null,3, 4, 3, 3, 5, 4] }] }); }); </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>