Diferent set of Xlabel values ¿is that possible?

TeeChart for ActiveX, COM and ASP
Post Reply
El_Quijote_MX
Newbie
Newbie
Posts: 3
Joined: Thu May 20, 2004 4:00 am
Location: Monterrey, México

Diferent set of Xlabel values ¿is that possible?

Post by El_Quijote_MX » Wed Dec 01, 2004 3:24 pm

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...
Attitude is all

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Dec 02, 2004 9:28 am

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"

Post Reply