ToolTip
Posted: Thu Dec 17, 2020 12:43 pm
Hi,
Is there a way of making the tooltip popup for only one series?
Thanks
Is there a way of making the tooltip popup for only one series?
Thanks
Code: Select all
for (i = 0; i < 3; i++) {
Chart1.addSeries(s = new Tee.Line().addRandom(15));
}
var tooltip = new Tee.ToolTip(Chart1);
Chart1.tools.add(tooltip);
tooltip.old_refresh=tooltip.refresh;
tooltip.refresh = function(series,index) {
if (series == Chart1.series.items[1]) { // this will only show the tooltip for the series index 1
tooltip.old_refresh(series,index);
}
}