I want to add seriespointers to series that is generated runtime. I am using this method:
ActiveTarget = Convert.ToInt32(Convert.ToString(tChartTargetDesigner.Series.Add (new Steema.TeeChart.Styles.Line())).Substring(4)) - 1;
And then I can call the subject series using the ActiveTarget as index later on.
But these line series has no Seriespoinnter.
How do I add seriespointer and how do control their properties?
Thanks,
Pointers by code question
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi BerntR,
To make line series pointer visible you just need to use something like this:
To make line series pointer visible you just need to use something like this:
Code: Select all
foreach (Steema.TeeChart.Styles.Line s in tChart1.Series)
{
s.Pointer.Visible = true;
}
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 |
narcis wrote:Hi BerntR,
To make line series pointer visible you just need to use something like this:
Code: Select all
foreach (Steema.TeeChart.Styles.Line s in tChart1.Series) { s.Pointer.Visible = true; }
Thanks,
Will this work for adding the seriespointer to the series?
new Steema.TeeChart.Styles.SeriesPointer (tChartTargetDesigner,
tChartTargetDesigner.Series);
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi BerntR,
The code I posted will make the pointer visible for those series which have the pointer feature.
The code I posted will make the pointer visible for those series which have the pointer feature.
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 |