Page 1 of 1

Diferent set of Xlabel values ¿is that possible?

Posted: Wed Dec 01, 2004 3:24 pm
by 6382563
Hi! Greetings from MONTERREY México.
I need help about the issue in the subject.

I have a scline graph with two series on it. Both are graphed
against time. My problem is that I would like to allow the user
to select the kind of xLabels on the XAxis. It could be the labels
of the series(0) or the labels of the series(1).

My teeChat version is TeeChart Pro 4.0. I thougth it could be
implemented changin the xLabelvalue but I can't find the way
to do It.

I know that I can re-do the graph selecting the field I need as
Xlabels but I wouldn´t like it.

Is there a solution ?

Thanks ...

El Quijote...

Posted: Thu Dec 02, 2004 9:28 am
by Pep
Hi,

to do this, you'll have to use the OnGetAxisLabel event to customize the labels.
Or, using the TeeChart Pro v6 and above you can add your custom labels to specific positions directly to an axes using the following code :
TChart1.Axis.Bottom.Labels.Clear
TChart1.Axis.Bottom.Labels.Add 1, "Apple"