Page 1 of 1

Stacked bars draw incorrectly in 3D

Posted: Thu Sep 08, 2005 5:59 am
by 9343038
When I generate a chart with the code below, the 3D view is not correct.
Note how on X=1, series2 is next to series 1, but seems to be behind series4.

--Paul

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
var
   B: integer;
   Bars: array[1..4] of TBarSeries;
begin
for B := 1 to 4
do begin
   Bars[B] := TBarSeries.Create(Chart1);
   Chart1.AddSeries(Bars[B]);
   Bars[B].FillSampleValues(6);
end;
Bars[1].MultiBar := mbStacked;
Bars[2].StackGroup := 1;
Bars[3].StackGroup := 1;
end;


Posted: Thu Sep 08, 2005 6:02 am
by 9343038
Please insert

Code: Select all

RandSeed := 1234;
Before the for loop to see what I see :)

--Paul

Posted: Fri Sep 09, 2005 7:24 am
by narcis
Hi Paul,

Thanks for reporting that issue. I've been able to reproduce it but I can't think of any workaround for now. I've added this defect to our bug list to be fixed for future releases.