HI
I have a teechart where i want to display that when user hovers mouse over the series, corresponding legend ext should bedisplayed . For taht i used markstip and set it at run time and desing time also
like this :
Me.MarksTip1.Style = Steema.TeeChart.Styles.MarksStyles.Legend
But the problem is it is not displaying legend text even though legend is displaying correctly.
TO be more clear:
For example there are 2 curves and legend shows A and B then on mosue hover the first curve A should be showwn. But its not happening. WHY?
Markstip not working
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi shikha,
In that case you need to set tool style's to SeriesTitle. Code snippet below works fine.
In that case you need to set tool style's to SeriesTitle. Code snippet below works fine.
Code: Select all
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line1.FillSampleValues();
line2.FillSampleValues();
line1.Title = "A";
line2.Title = "B";
Steema.TeeChart.Tools.MarksTip mt1 = new Steema.TeeChart.Tools.MarksTip(tChart1.Chart);
mt1.Style = Steema.TeeChart.Styles.MarksStyles.SeriesTitle;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |