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
Steema Software - Customer Support Forums
https://407832.verdetrade-hk.tech/support/
https://407832.verdetrade-hk.tech/support/viewtopic.php?f=18&t=17466
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);
}
}