non-numeric data on axes?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
davids
Newbie
Newbie
Posts: 13
Joined: Wed Dec 10, 2003 5:00 am
Location: Phoenix, AZ

non-numeric data on axes?

Post by davids » Thu Jun 03, 2004 9:39 pm

We often want to display bar charts where the x-axis is represented as a non-numeric item. Also, bubble charts where we have the same non-numeric items along both axes and the intersecting points document frequency of pairings of items.

The results of our data analyses often get published in academic journals, and it would be really handy to be able to have the chart display the proper labels along the axes instead of numeric identifiers that don't relate to anything except how the charter wants to be fed its data. In fact, it would even be better if we could feed the data into the charter using symbolic labels and let the charter do the counting.

Last I checked, this is impossible with TeeChart (V5, anyway). Has anything changed in newer versions?

Thanks
-David

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

Post by Pep » Fri Jun 04, 2004 12:18 am

Hi David,

you can show non numeric items on the Axis setting the Axis.LabelStyle to talText (in case you've defined a labels for the data added into the Chart) or set a custom text on each axis label using the OnGetAxisLabel event.
In TeeChart v6 and above you can also define custom axis labels with arbitrary interval.

Post Reply