Change axis of TGanttSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
andreask
Newbie
Newbie
Posts: 4
Joined: Fri Nov 15, 2002 12:00 am
Location: Berlin
Contact:

Change axis of TGanttSeries

Post by andreask » Wed Mar 24, 2004 2:49 pm

Is it possible to change the axis of a TGanttSeries, so that I have 2 Y-Values and 1 X-Value? Or is their another way to have 2 Y-Value and 1 X-Value?
regards
Andreas

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

Post by Pep » Wed Mar 24, 2004 3:50 pm

Hi Andreas,

yes, in TeeChart v5 one solution might be to use TChartAxis OnGetAxisLabel and OnGetNextAxisLabel events to customize axis increment and axis labels for individual axis.
In TeeChart v6 and v7 you can also define custom axis labels with arbitrary interval. You can see one example of this in the TeeChart Pro Demo Features project which is included in the installation.

Post Reply