Customozed Tool tip
Posted: Tue May 10, 2016 12:54 pm
As per my requirement I need to show the tooltip with values, datetime (x-axis value) and some comment on the chart. I am able to get the value of the chart but not datetime value. Can you please guide me how I can get datetime value using below code?
Code: Select all
tip.ongettext = function (tool, text, series, index) {
var s = 'Series1 point: <strong>' + index.toFixed(0) + '</strong><br/>Value: ' + series.data.values[index].toFixed(2);
return s;
}