Problem with tooltip in Bar Chart
Posted: Thu Mar 25, 2010 12:38 pm
In my ASP.net web page I have multiple charts of style bar. I want to show tooltip when mouse hovered on a bar, shows the Y value of the bar. For each chart I am doing the things like –
Steema.TeeChart.Styles.Bar barD = new Steema.TeeChart.Styles.Bar();
chart.Series.Add(barD);
.
.
.
Steema.TeeChart.Tools.SeriesHotspot seriesHotspot1 = new
Steema.TeeChart.Tools.SeriesHotspot(chart);
seriesHotspot1.Style = Steema.TeeChart.Styles.MarksStyles.Label;
seriesHotspot1.Series = barD;
On mouse hover tooltip for each bar is visible. Well and good. But the issue is that the tooptip always reflects value from the first chart.
Steema.TeeChart.Styles.Bar barD = new Steema.TeeChart.Styles.Bar();
chart.Series.Add(barD);
.
.
.
Steema.TeeChart.Tools.SeriesHotspot seriesHotspot1 = new
Steema.TeeChart.Tools.SeriesHotspot(chart);
seriesHotspot1.Style = Steema.TeeChart.Styles.MarksStyles.Label;
seriesHotspot1.Series = barD;
On mouse hover tooltip for each bar is visible. Well and good. But the issue is that the tooptip always reflects value from the first chart.