Page 1 of 1

GetAxisDrawLabelEventHandler must include AxisLabelItem

Posted: Thu Mar 23, 2006 7:46 am
by 9638762
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 ..

Posted: Thu Mar 23, 2006 9:49 am
by narcis
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?

Posted: Thu Mar 23, 2006 11:30 am
by 9638762
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 ..

Posted: Thu Mar 23, 2006 11:46 am
by narcis
Hi glikoz,

Then you may better try using GetNextAxisLabel event which already has LabelIndex argument.

Posted: Thu Mar 23, 2006 12:42 pm
by 9638762
For GetNextAxisLabel :

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

Posted: Fri Mar 24, 2006 11:37 am
by narcis
Hi glikoz,

You could try using:

Code: Select all

double myYValue = tChar1[0].YValues[e.LabelIndex];