I have a fastline which represents values over a time axis. Time axis is the bottom axis and represents time values relative to the start time. Additionally I would like to draw absolute daytime to the top axis at the same X position, where the bottom axis is labelled.
To do so I save for every point the curent daytime as a label. For TeeChart 4 I was able to utilize GetAxisLabel() to print the labels to the top axis. The event was fired every time a label was drawn. I filtered for bottom axis and got an event every time when a bottom label was drawn. Then I took the label from the series point and placed a label for the top axis by DrawAxisLabel().
With TeeChart 7 GetAxisLabel() seems to be fired every time, when I add a series point, not only when a label is drawn. Now it is impossible for me to filter events, when really the bottom axis is labelled.
What can I do?
[Solved] Custom Axis labels
[Solved] Custom Axis labels
Last edited by to2 on Fri Mar 24, 2006 4:02 pm, edited 1 time in total.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi to2,
Try using GetNextAxisLabel event.
Try using GetNextAxisLabel event.
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 |