Hello,
I'm using my custom code in OnGetAxisLabel, but I noticed that this event is not only called when the labels are drawn, but also with the Axis.Minimum and Axis.Maximum.
Can you tell me what are all the moment which fire the event OnGetAxisLabel ?
[OnGetAxisLabel] When is it fired ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi bertrod,
Changing axes scales implies that automatic labels need to be recalculated and therefore this event is fired.
Changing axes scales implies that automatic labels need to be recalculated and therefore this event is fired.
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 |
Ok, but it is fired not only when labels are drawn :narcis wrote:Hi bertrod,
Changing axes scales implies that automatic labels need to be recalculated and therefore this event is fired.
-> fire for axis.maximum
-> fire for axis.minimum
-> fire for each label which is drawn
-> ... any other moment ?
Hi,
basically it's called when the label text is assigned, so this implies that each time label text (or value) is going to be drawn it's called (if it's assigned).
It's also called setting min and max for an axis as this means that axis labels have to be assigned and displayed again.
basically it's called when the label text is assigned, so this implies that each time label text (or value) is going to be drawn it's called (if it's assigned).
It's also called setting min and max for an axis as this means that axis labels have to be assigned and displayed again.
Pep Jorge
http://support.steema.com
http://support.steema.com