Javascript examples for highcharts:Chart Creation
Use Javascript to create chart
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript"> window.onload=function(){/* w ww.j av a2 s . c o m*/ const options = { series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4], type: 'column' }] } const chart = Highcharts.chart('container',options); } </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <!--script src="https://code.highcharts.com/js/modules/exporting.js"></script--> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container"></div> </body> </html>