Is there a way to space the pointers in a series (like the 'draw every' in marks) ?
Cheers
Francis Pantus
Spacing pointers in line series
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Francis,
You can use series GetPointerStyle event for that purpose as shown here:
You can use series GetPointerStyle event for that purpose as shown here:
Code: Select all
private void Form1_Load(object sender, System.EventArgs e)
{
line1.FillSampleValues();
line1.Pointer.Visible=true;
}
private void line1_GetPointerStyle(Steema.TeeChart.Styles.CustomPoint series, Steema.TeeChart.Styles.CustomPoint.GetPointerStyleEventArgs e)
{
if (e.ValueIndex % 5 == 0)
e.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
else
e.Style = Steema.TeeChart.Styles.PointerStyles.Nothing;
}
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 |