Stacker

Defines the stacker helper class.

Class · Namespace LiveChartsCore.Kernel · Assembly LiveChartsCore · View source

Inheritance

Object Stacker

Members

Properties

MaxLength Int32
Gets the maximum length.
MaxSeriesId Int32
Gets the largest ISeries.SeriesId among the series registered in this stack group. Used by the stacked area / step / polar line series to derive a z-index that anchors the whole stack at one rank while sub-ordering by stack position so the bottom layer (position 0) draws on top of the later, larger-fill layers. Callers must ensure all peer stacked series have registered (via Stacker.GetSeriesStackPosition) before reading this.

Methods

GetSeriesStackPosition 1 parameter

Gets the series stack position.

ISeries series The series.

StackPoint 2 parameters

Stacks the point.

ChartPoint point The point.

Int32 seriesStackPosition The series stack position.

GetStack 2 parameters

Gets the stack.

ChartPoint point The point.

Int32 seriesStackPosition The series stack position.

Constructors

Stacker No parameters

Initializes a new instance of the Stacker class.