Javascript examples for highcharts:Line Chart
Use spline chart and set series to use areaspline
<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 . j a v a 2 s. c o 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>