Created
January 2, 2012 13:37
-
-
Save straps/1550706 to your computer and use it in GitHub Desktop.
charterTooltipFormatt
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
!!{ | |
chart:{zoomType: 'x', type:'area'}, | |
navigator:{ | |
xAxis:{ | |
labels:{ | |
formatter:function(){return this.value*2;} | |
}, | |
ordinal:false | |
} | |
}, | |
xAxis:{labels:{formatter:function(){return this.value*2;}},ordinal:false}, | |
tooltip:{ | |
formatter:function(){ | |
var rv='Freq: <b>'+(this.x*2)+'</b>'; | |
_.each(this.points,function(p){ | |
rv+='<br/><span style="color:'+p.series.color+'">'+p.series.name+'</span>: <b>'+p.y.toFixed(2)+'</b>'; | |
}); | |
return rv; | |
} | |
}, | |
legend: { | |
enabled: true, layout: 'vertical', | |
floating: true, align: 'right', | |
verticalAlign: 'top', | |
itemStyle:{'font-size':'11px'} | |
}, | |
credits:{enabled:false}, | |
rangeSelector:{buttons:[{type: 'all', text:'All'}], selected:0, inputEnabled:false}, | |
plotOptions: {series: {shadow: false, lineWidth: 1}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment