Skip to content

StackedArea3DMark

ClassChartGuruChartGuru.3D
public sealed class StackedArea3DMark : Line3DMark, IChart3DMark, IChart3DDataMark, IChartMark

3D stacked area mark.

public StackedArea3DMark(float x, float y, float z)

Creates one point of a stacked 3D area at data coordinates (x, y, z); the series that share its X and Z stack their Y values there, upward from zero by default.

Parameters

NameType
xSystem.Single
ySystem.Single
zSystem.Single
public StackedArea3DMark(DataPoint3D p)

Creates one point of a stacked 3D area at the coordinates of p, keeping the point’s identity and other fields.

Parameters

NameType
pChartGuru.DataPoint3D

public StackedArea3DMark RibbonThickness(float t)

Sets the half thickness of the area’s slab in plot units.

Parameters

NameType
tSystem.Single

Returns

ChartGuru.StackedArea3DMark

InterpolationMethod(InterpolationMethod, float)

Section titled “InterpolationMethod(InterpolationMethod, float)”
public StackedArea3DMark InterpolationMethod(InterpolationMethod method, float tension = 0.5)

Curves the area’s top and bottom like 2D areas. Swift Charts equivalent: .interpolationMethod(_:).

Parameters

NameType
methodChartGuru.InterpolationMethod
tensionSystem.Single

Returns

ChartGuru.StackedArea3DMark

public StackedArea3DMark Stacking(MarkStackingMethod method)

Sets how the series stacks with the other stacked areas at the same X and Z: MarkStackingMethod.Standard, the default, piles values up from zero, Normalized as shares filling 0 to 1, Center centered on zero, and Unstacked draws each series from zero on its own. The series’ first mark decides.

Parameters

NameType
methodChartGuru.MarkStackingMethod

Returns

ChartGuru.StackedArea3DMark

public StackedArea3DMark Stacked()

Stacks the series from zero onto the other stacked areas at the same X and Z, the default; shortcut for Stacking(MarkStackingMethod.Standard).

Returns

ChartGuru.StackedArea3DMark

public StackedArea3DMark Grouped()

Draws the series from zero without stacking, so series at the same Z overlap; shortcut for Stacking(MarkStackingMethod.Unstacked).

Returns

ChartGuru.StackedArea3DMark

public StackedArea3DMark Normalized()

Stacks the series as shares of the total at each X and Z, so every stack fills 0 to 1; shortcut for Stacking(MarkStackingMethod.Normalized).

Returns

ChartGuru.StackedArea3DMark

public StackedArea3DMark Centered()

Stacks the series centered on zero at each X and Z, like a streamgraph; shortcut for Stacking(MarkStackingMethod.Center).

Returns

ChartGuru.StackedArea3DMark

public override IChartMark Clone()

Creates an independent copy of this stacked area point with its position, slab thickness, interpolation, stacking and style; later changes to either mark do not affect the other.

Returns

ChartGuru.IChartMark

public MarkStackingMethod StackingMethod { get; }

Returns

ChartGuru.MarkStackingMethod

public override ChartType MarkType { get; }

Returns

ChartGuru.ChartType