ICustomBarSeries.StackGroup
ICustomBarSeries

property StackGroup: Integer;

Type Library
TeeChartx

Description
StackGroups group Series to permit several stacks of independent Series groups in the same Chart.

Example [Delphi]:

{The following code will create 5 Series, stacked 5 high at each valueindex of the Series, (ie. 10 stacked bars).}

procedure TForm1.BitBtn1Click(Sender: TObject);

begin

Series1.Fillsamplevalues(10);

Series2.Fillsamplevalues(10);

Series3.Fillsamplevalues(10);

Series4.Fillsamplevalues(10);

Series5.Fillsamplevalues(10);

Series1.MultiBar:= mbStacked;

end;

{The following code will create 2 StackGroups, one with 2 Series and the other with 3, plotting each stacked group at each value ValueIndex point, ie. 20 stacked bars for 10 data points, 2 at each index point}

procedure TForm1.BitBtn2Click(Sender: TObject);

begin

Series1.StackGroup:=0;

Series2.StackGroup:=0;

Series3.StackGroup:=1;

Series4.StackGroup:=1;

Series5.StackGroup:=1;

end;