Javascript examples for highcharts:Stock Chart
Highstock padding/margin with range selector
<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() {// w ww .j a v a 2s .c o m var chart = new Highcharts.StockChart({ chart: { renderTo: 'container', }, exporting: { enabled: false }, navigator: { enabled: false }, rangeSelector: { height: 0, selected: 1, inputEnabled: false, buttonTheme: { visibility: 'hidden' }, labelStyle: { visibility: 'hidden' } }, series: [{ name: 'USD to EUR', data: usdeur }] }); }); </script> </head> <body> <div id="container" style="height: 400px; min-width: 600px"></div> <script src="https://code.highcharts.com/stock/highstock.src.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>