e.ValueIndex not updating in GetAxisLabel

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
yair
Newbie
Newbie
Posts: 15
Joined: Wed Jan 16, 2008 12:00 am

e.ValueIndex not updating in GetAxisLabel

Post by yair » Tue May 06, 2008 6:55 am

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

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 May 06, 2008 9:20 am

Hi Yair,

For having a valid ValueIndex parameter you need to set Labels.Style to text as in the examples on this thread.
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