I need to display 3 values on the tooltip: the time, the value and another value(change).
I saw this example (but the jsdfiddle is not working).
I tried thi
two ways.
series: [
{ ...
tooltip:
{pointFormat: "{series.name}: {point.y} {y2}
"}
}, ...
]
o = Highcharts.Point.prototype.tooltipFormatter
Highcharts.Point.prototype.tooltipFormatter=function(format){return o.call(this, format).replace("{y2}", this.config[2]);}
a = new Highcharts.StockChart(options);
a.series[0].tooltipFormatter = function(item) { return "" +item.series.name+": "+item.y+item.point.config[2]+"
"; }