GetAxisDrawLabelEventHandler must include AxisLabelItem

Ideas and wishes for TeeChart
Post Reply
glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

GetAxisDrawLabelEventHandler must include AxisLabelItem

Post by glikoz » Thu Mar 23, 2006 7:46 am

You could access AxisLabelItem.Text ..But itself is not accessible ..
So you have to access AxisLabelItem by its text .. If you have got two different AxisLabelItem with same Text you couldnt access AxisLabelItem..
This is serious problem ..

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

Post by Narcís » Thu Mar 23, 2006 9:49 am

Hi glikoz,

As I told you yesterday in that thread, you can already access each custom label item and each of its properties and methods. If that's not what are you looking for, could you please explain?
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

glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

Post by glikoz » Thu Mar 23, 2006 11:30 am

You gave got three axisLabelItem and All of them has got same text ..
"November" ," November", "November" ?
How could you access third item ? IndexOf is not solution for that
Because all of them have got same Text ..

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

Post by Narcís » Thu Mar 23, 2006 11:46 am

Hi glikoz,

Then you may better try using GetNextAxisLabel event which already has LabelIndex argument.
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

glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

Post by glikoz » Thu Mar 23, 2006 12:42 pm

For GetNextAxisLabel :

But , It doesnt include X,Y,Z information ..

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

Post by Narcís » Fri Mar 24, 2006 11:37 am

Hi glikoz,

You could try using:

Code: Select all

double myYValue = tChar1[0].YValues[e.LabelIndex];
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