Javascript examples for highcharts:Line Chart
Create line chart with default settings
<html> <head> <title>Highcharts Stock Demo</title> <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 () {//ww w . j a v a2 s. co m new Highcharts.StockChart({ chart: { renderTo: document.getElementsByClassName("container")[0] }, series: [{ name: 'USD to EUR', data: [10, 20] }] }); }); </script> </head> <body> <div class="container" style="height: 400px; min-width: 600px"></div> <script src="https://code.highcharts.com/stock/highstock.js"></script> <script src="https://code.highcharts.com/stock/modules/exporting.js"></script> <script type="text/javascript" src="https://www.highcharts.com/samples/data/usdeur.js"></script> </body> </html>