Labels on Radarchart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Broesel
Newbie
Newbie
Posts: 2
Joined: Wed Mar 10, 2004 5:00 am

Labels on Radarchart

Post by Broesel » Thu Aug 19, 2004 4:29 pm

Hi

Using Radarchart, I like to display lables (the ones I
can put on in the dialog series->format->labels.
If I use one series in chart, its working. But if I make
two clones of this series, the labels are only displayed
if all series are visibled, even if they have all the same
settings.

Thanks for help

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon Aug 23, 2004 4:46 pm

Hi.

If you have multiple radar series then only first series labels will be show on the radar chart (mainly to prevent axis label overlapping). If you have multiple radar seris with different number of points, then the obvious workaround for this limitation is to populate first (fake) series with all points and use this series only for displaying axis labels. This can be done by the following code:

Code: Select all

fakeSeries.Pen.Visible := False;
fakeSeries.Pointer.Visible := False;
fakeSeries.ShowInLegend := False;
// add all points to first (fake) series
// next, populate other series with individual data
Marjan Slatinek,
http://www.steema.com

Post Reply