Created
August 31, 2012 01:52
-
-
Save abrambailey/3547680 to your computer and use it in GitHub Desktop.
gister123
This file contains hidden or 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
<script type="text/javascript"> | |
(function() { | |
var onload = window.onload; | |
window.onload = function(){ | |
if (typeof onload == "function") onload(); | |
var options, chart; | |
options = { "title": { "text": "Top Brands by Score" },"legend": { "layout": "vertical","style": { },"enabled": false },"xAxis": { "categories": ["x","y","z"] },"yAxis": { "title": { "text": null },"labels": { } },"tooltip": { "enabled": true,"formatter": function() { return '<b>'+ this.x +'</b>: '+ this.y.toFixed(1) +' %'; } },"credits": { "enabled": false },"plotOptions": { "areaspline": { } },"chart": { "defaultSeriesType": "column","renderTo": "my_id","height": 230,"width": 200,"backgroundColor": "#F0F0F0" },"subtitle": { },"series": [{"data":[77.5,67.0,55.0],"dataLabels":{"formatter":"function() { return this.x; }","enabled":true,"rotation":90,"x":-3,"y":15,"color":"#FFFFFF"},"name":null}] }; | |
chart = new Highcharts.Chart(options); | |
}; | |
})() | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment