TeeChart tooltip does not work on Point-series.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

TeeChart tooltip does not work on Point-series.

Post by mks-ydi » Tue Aug 30, 2011 5:15 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TeeChart tooltip does not work on Point-series.

Post by Narcís » Tue Aug 30, 2011 8:19 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

Re: TeeChart tooltip does not work on Point-series.

Post by mks-ydi » Wed Aug 31, 2011 6:27 am

Could you provide a temporary solution?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TeeChart tooltip does not work on Point-series.

Post by Narcís » Wed Aug 31, 2011 7:35 am

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;
    }
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

Re: TeeChart tooltip does not work on Point-series.

Post by mks-ydi » Thu Sep 01, 2011 3:08 am

That's really great. Why I can't come up with this amazing idea.
Thank you a lot for your help.

Michael
Newbie
Newbie
Posts: 7
Joined: Tue Jun 14, 2005 4:00 am

Re: TeeChart tooltip does not work on Point-series.

Post by Michael » Thu Sep 01, 2011 3:15 am

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,

Michael
Newbie
Newbie
Posts: 7
Joined: Tue Jun 14, 2005 4:00 am

Re: TeeChart tooltip does not work on Point-series.

Post by Michael » Thu Sep 01, 2011 3:15 am

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,

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TeeChart tooltip does not work on Point-series.

Post by Narcís » Thu Sep 01, 2011 7:17 am

Hi Carol,

No, there's no important difference I can think of now. Sorting is the same for Points, Line and most other series.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply