Javascript examples for highcharts:Chart Json Data
Feeding a combo chart from Spreadsheet or json
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function() {//from w w w.j av a2 s . com // Create the chart $('#container').highcharts({ title: { text: 'Highcharts data from Google Spreadsheets' }, data: { googleSpreadsheetKey: '', seriesMapping: [{ x: 0, y: 1 }, { x: 0, y: 2 }, { x: 0, y: 3 }] }, series: [{ type: 'column' }, { type: 'column' }, { type: 'column' }, { type: 'scatter', data: [ [3, 3], [5, 5] ] }] }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/stock/highcharts-more.js"></script> <script src="https://code.highcharts.com/modules/data.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container" style="min-width: 310px; max-width: 600px; height: 400px; margin: 0 auto"></div> </body> </html>