Javascript examples for highcharts:Chart Configuration
chart with default series type
<html> <head> <title>Highcharts test tool</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-git.js"></script> <script type="text/javascript"> $(function(){//from w ww. j av a 2s . c o m var chart = new Highcharts.Chart({ chart: { defaultSeriesType: 'spline', renderTo: 'container' }, xAxis: { categories: ['09:00', '10:00', '11:00', '12:00', '13:00'] }, series: [{ data: [29.9, 106.4, 129.2, 102,null], }] }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <div id="container" style="height: 300px"></div> </body> </html>