Created
April 8, 2014 10:37
-
-
Save jakuza/10108308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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