Literally just noticed this and couldn't find it in the search...but if you add a colourline (with allowdrag) to the chart, and then zoom in on an area that doesn't have the colourline in it, when you zoom out the colourline changes position?
Regards,
Chris.
colourline bug?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Chris,
This is because the ColorLine is set to associated axis minimum or maximum value. This can be solved setting NoLimitDrag to true:
This is because the ColorLine is set to associated axis minimum or maximum value. This can be solved setting NoLimitDrag to true:
Code: Select all
Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.FillSampleValues();
Steema.TeeChart.Tools.ColorLine colorLine1 = new Steema.TeeChart.Tools.ColorLine(tChart1.Chart);
colorLine1.AllowDrag = true;
colorLine1.NoLimitDrag = true;
colorLine1.Axis = tChart1.Axes.Bottom;
colorLine1.Value = 3;
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 |