Page 1 of 1

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

Posted: Fri Jun 02, 2006 4:16 pm
by 5891343
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 ??

Posted: Tue Jun 06, 2006 8:13 am
by narcis
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.