Highcharts - Referance a separate data series in a series tooltip -
my desired functionality can seen @ link below. however, in case i'm using external csv file series' in it. when using external file, code doesn't have same functionality. (no tooltip appears on series 0 & 1)
is there change can make code work external csv's?
desired functionality: http://jsfiddle.net/uwbur/1/
tooltip:{ formatter:function(){ var key = this.key; if(this.series.index < 1){ return 'series 0 '+ this.y + '<br/>series 1 '+this.series.chart.series[1].data[key].y; } else{ return 'other series' + this.y; } } },
Comments
Post a Comment