SideBySideStackedBarSeries Class

A series that displays data as individual bars stacked using the StackedGroup value and grouped by arguments.

Syntax

public class SideBySideStackedBarSeries
extends StackedBarSeries

The height of each bar is determined by the data value.

The following image demonstrates Stacked Side-by-Side Bar series:

SideBySideStackedBarSeries

Constructors

SideBySideStackedBarSeries() Constructor

Initializes a new SideBySideStackedBarSeries class instance with default parameters.

Syntax

public SideBySideStackedBarSeries()

Methods

getStackedGroup() Method

Returns the stack index identifying what values should be combined into one bar.

Syntax

public int getStackedGroup()

Returns

Type Description
int

The stack group index.

setStackedGroup(int) Method

Specifies the stack index identifying what values should be combined into one bar.

Syntax

public void setStackedGroup(int id)

Parameters

Type Name Description
int id

The stack group index.