GetAxis().GetBottom().GetLabels().GetItem(0)

TeeChart for ActiveX, COM and ASP
Post Reply
moeri
Newbie
Newbie
Posts: 1
Joined: Tue Aug 08, 2006 12:00 am
Contact:

GetAxis().GetBottom().GetLabels().GetItem(0)

Post by moeri » Tue Sep 18, 2007 2:08 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Sep 18, 2007 2:17 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply