Legends of Pie plots are shown only for the first pie :-(

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
achristouio
Newbie
Newbie
Posts: 26
Joined: Tue Apr 02, 2002 5:00 am
Location: University of Oslo
Contact:

Legends of Pie plots are shown only for the first pie :-(

Post by achristouio » Fri Jun 02, 2006 4:16 pm

I have the following contstruction and initializing for each circle:

EnergyInPositionSeries := tPieSeries.Create
(Circled_Position__PositionEnergyChart);
WITH EnergyInPositionSeries DO
BEGIN
ValueFormat := '#,##0.#';
ParentChart := Circled_Position__PositionEnergyChart;
Circled := True;
CustomxRadius := 0;
CustomYRadius := 0;
Marks.ArrowLength := 9;
Marks.Visible := True;
Marks.Style := smsLabelPercentTotal;
Marks.Arrow.Color := clBlack;
Marks.MultiLine := True;
Marks.Font.Height := -9;
Marks.Visible := False;
ShowInLegend := True;
SeriesColor := clRed;
BeforeDrawValues := EnergyInPositionCountSeriesBeforeDraw;
PieValues.Datetime := False;
PieValues.Name := 'Pie';
PieValues.Order := loNone;
EnergyPositionSeriesRect := Classes.Rect(XLeft,
(Circled_Position__PositionEnergyChart.Height
DIV 2) - (aHeight DIV 2), XLeft + XStep, aHeight);
END;
END;
XLeft := XLeft + XStep;


Why is only legend shown for the values added first day ?
If I try to show only one pie a day, only legends are shown for the first pie. Any idea what is missing in the initialization above ??

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jun 06, 2006 8:13 am

Hi achristouio,

Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply