Skip to content

Instantly share code, notes, and snippets.

@jakuza
Created April 8, 2014 10:37
Show Gist options
  • Save jakuza/10108308 to your computer and use it in GitHub Desktop.
Save jakuza/10108308 to your computer and use it in GitHub Desktop.
$(function() {
// Create the chart
$('#container').highcharts('StockChart', {
rangeSelector : {
inputEnabled: $('#container').width() > 480,
selected : 2
},
title : {
text : ''
},
series : [{
name : 'Open governance credit accounting offset',
data : [
[1379529200000, 10],
[1379715600000, -2],
[1379802000000, 3.8],
[1379888400000, -4.2],
[1379974800000, 6.1],
[1380061200000, 9.8],
[1380147600000, 6.8],
[1380234000000, -5.8],
[1400234000000, 2.8]
],
lineWidth : 0,
marker : {
enabled : true,
radius : 4
},
tooltip: {
valueDecimals: 2
}
}]
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment