Page 1 of 1
TeeChart tooltip does not work on Point-series.
Posted: Tue Aug 30, 2011 5:15 am
by 13050783
Hello Team,
We use TeeChart for .Net with version 3.5.3225.32185.
I make a "Points" series with Triangle style for example added to a chart. and then add a tooltip tool(SeriesHotspot) to the chart.
the result is that The toolltip tool is not ok for Triangle,SmallDot,Sphere,Star and so on. but it is only ok for Circle and Rectangle shape.
please help me
thanks,
Carol.
Re: TeeChart tooltip does not work on Point-series.
Posted: Tue Aug 30, 2011 8:19 am
by narcis
Hi Carol,
I have been able to reproduce the issue here and added it (TW77015716) to the defect list to be fixed. This only occurs with WebForms applications. It works fine in WinForms with MarksTip tool.
Re: TeeChart tooltip does not work on Point-series.
Posted: Wed Aug 31, 2011 6:27 am
by 13050783
Could you provide a temporary solution?
Re: TeeChart tooltip does not work on Point-series.
Posted: Wed Aug 31, 2011 7:35 am
by narcis
Hi Carol,
Yes, a workaround is using Line series with visible pointer and no visible pen, for example:
Code: Select all
protected void Page_Load(object sender, EventArgs e)
{
Steema.TeeChart.Chart chart1 = WebChart1.Chart;
chart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(chart1.Chart);
line1.FillSampleValues();
line1.Pointer.Visible = true;
line1.LinePen.Visible = false;
line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Triangle;
Steema.TeeChart.Tools.SeriesHotspot hotSpot1 = new Steema.TeeChart.Tools.SeriesHotspot(chart1);
hotSpot1.Series = line1;
}
Re: TeeChart tooltip does not work on Point-series.
Posted: Thu Sep 01, 2011 3:08 am
by 13050783
That's really great. Why I can't come up with this amazing idea.
Thank you a lot for your help.
Re: TeeChart tooltip does not work on Point-series.
Posted: Thu Sep 01, 2011 3:15 am
by 9527168
dear Narcís,
Thanks for your reply. the solution is so smart,and it works very well.
but
I have one question about the diffrences between the "points" series and the "line" series(when only show points,line hiden).
I am worry that there is diffrence(show diffrent result) exist on some situations that i can not imagine now.
for example, inner sort mechanism ,points order on x-axis/y-axis, something like that.
Thanks
Carol,
Re: TeeChart tooltip does not work on Point-series.
Posted: Thu Sep 01, 2011 3:15 am
by 9527168
dear Narcís,
Thanks for your reply. the solution is so smart,and it works very well.
but
I have one question about the diffrences between the "points" series and the "line" series(when only show points,line hiden).
I am worry that there is diffrence(show diffrent result) exist on some situations that i can not imagine now.
for example, inner sort mechanism ,points order on x-axis/y-axis, something like that.
Thanks
Carol,
Re: TeeChart tooltip does not work on Point-series.
Posted: Thu Sep 01, 2011 7:17 am
by narcis
Hi Carol,
No, there's no important difference I can think of now. Sorting is the same for Points, Line and most other series.