Page 1 of 1

Stacking Problem

Posted: Fri Oct 05, 2007 1:09 pm
by 9244563
Hi I'm creating area series manually on a Chart and i need them to stack but can not get the syntax to work - Can someone please give me an example.

ie
Cnt:=Cnt+1;
Chart3.AddSeries(TAreaSeries);
Chart3.Series[Cnt].Title:=Trim(Report3.FieldByName('SRef').AsString);

i need to now tell the areaseries's to be stacked ???

Thanks

Posted: Fri Oct 05, 2007 1:43 pm
by narcis
Hi TimH,

Try this:

Code: Select all

    (Chart1[Cnt] as TAreaSeries).MultiArea := maStacked;