I want to read current BottomLabel items and save it into my CString variables.
I use VC++.
m_ctlChart[/img].GetAxis().GetBottom().GetLabels().GetItem(0);
m_ctlChart[/img].GetAxis().GetBottom().GetLabels().GetItem(1);
Is it right?
My chart has some labels in bottom axis.
But my code can NOT find the label item.
GetAxis().GetBottom().GetLabels().GetItem(0)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi moeri,
This can also be used when using custom labels as you can see in the example at All Features\Welcome!\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
If you are not using custom labels then you can retrieve the labels values at the OnGetAxisLabels or OnGetNextAxisLabel events.
This can also be used when using custom labels as you can see in the example at All Features\Welcome!\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
If you are not using custom labels then you can retrieve the labels values at the OnGetAxisLabels or OnGetNextAxisLabel events.
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 |