Page 1 of 1

How to get user-defined labels for the depthaxis

Posted: Mon Jul 17, 2006 2:41 pm
by 9339286
Hi All!
I use a TChart and one TSurfaceSeries. I add 10 'waveforms' x:0 - 400 and y :0-255 to the surface. At the depthaxis I would have my own labels (eg.: 200@0, 210@1,..) but XLabels[] seems not to show up at the depthaxis and in the OnGetAxisLabel event i get no reference for which of my 10 waveforms I should supply a label (Series is always NIL, ValueIndex = -1).

So what have I missed??

BTW.: I would prefer to have an array like XLabels instead of using OnGetAxisLabel (because there will be many such surfaces in the near future).

TIA
Whookie

Posted: Mon Jul 17, 2006 2:52 pm
by narcis
Hi Whookie,

Have you tried using custom labels as shown in the All Features\Welcome!\Axes\Labels\Custom Labels example at the features demo, available at TeeChart's program group?