Page 1 of 1

e.ValueIndex not updating in GetAxisLabel

Posted: Tue May 06, 2008 6:55 am
by 14048025
Hi,

I'm using Teechart for .net v3.
In the GetAxisLabel() event the e.ValueIndex is -1 for each label (while the e.LabelText does show the displayed text). is this a bug ?
btw, I'm not using custom labels.

How can I get the underlying value for the label in the GetAxisLabel() event ?

Regards,

Yair

Posted: Tue May 06, 2008 9:20 am
by narcis
Hi Yair,

For having a valid ValueIndex parameter you need to set Labels.Style to text as in the examples on this thread.