I'm using:
TeeChart.NET version 3
Build 3.5.3188.18562
In the Feature demo "Welcome !\Tools\Drag Marks".
1. Zoom into a mark.
2. Move the mark.
3. Zoom out.
The mark's position did not update, but stays where I moved it to.
Drag mark position does not update when zooming out
-
- Newbie
- Posts: 34
- Joined: Thu Sep 04, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Christo.
This is because marks are set to an absolute position. For this to work they should be set to a position relative to any chart object (series points, axes, title, legend, etc.).
An alternative is using Annotation tools as Edu suggested here.
You could also set custom marks position as shown on this thread and refresh their position on Zoom and Scroll events as in Edu's example.
Hope this helps!
This is because marks are set to an absolute position. For this to work they should be set to a position relative to any chart object (series points, axes, title, legend, etc.).
An alternative is using Annotation tools as Edu suggested here.
You could also set custom marks position as shown on this thread and refresh their position on Zoom and Scroll events as in Edu's example.
Hope this helps!
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 |