Highcharts Stock Demo
author(s): Torstein Hønsi
by sbochan
HTML
<div id="container" style="height: 400px; min-width: 600px"></div>
<script src="http://code.highcharts.com/stock/highstock.js"></script>
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script>
<script type="text/javascript" src="http://www.highcharts.com/samples/data/three-series-1000-points.js"></script>
JavaScript
$(function() {
$('#container').highcharts('StockChart', {
chart: {
},
navigator: {
xAxis: {
labels: {
formatter:function(){
return Highcharts.dateFormat('%d / %m / %Y',this.value);
}
}
}
},
rangeSelector: {
selected: 1
},
series: [{
name: 'MSFT',
data: MSFT
}]
});
});