StackedArea3DMark
public sealed class StackedArea3DMark : Line3DMark, IChart3DMark, IChart3DDataMark, IChartMark3D stacked area mark.
Constructors
Section titled “Constructors”
StackedArea3DMark(float, float, float)
Section titled “StackedArea3DMark(float, float, float)”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
| Name | Type |
|---|---|
x | System.Single |
y | System.Single |
z | System.Single |
StackedArea3DMark(DataPoint3D)
Section titled “StackedArea3DMark(DataPoint3D)”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
| Name | Type |
|---|---|
p | ChartGuru.DataPoint3D |
Methods
Section titled “Methods”
RibbonThickness(float)
Section titled “RibbonThickness(float)”public StackedArea3DMark RibbonThickness(float t)Sets the half thickness of the area’s slab in plot units.
Parameters
| Name | Type |
|---|---|
t | System.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
| Name | Type |
|---|---|
method | ChartGuru.InterpolationMethod |
tension | System.Single |
Returns
ChartGuru.StackedArea3DMark
Stacking(MarkStackingMethod)
Section titled “Stacking(MarkStackingMethod)”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
| Name | Type |
|---|---|
method | ChartGuru.MarkStackingMethod |
Returns
ChartGuru.StackedArea3DMark
Stacked()
Section titled “Stacked()”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
Grouped()
Section titled “Grouped()”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
Normalized()
Section titled “Normalized()”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
Centered()
Section titled “Centered()”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
Clone()
Section titled “Clone()”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
Properties
Section titled “Properties”
StackingMethod
Section titled “StackingMethod”public MarkStackingMethod StackingMethod { get; }Returns
ChartGuru.MarkStackingMethod
MarkType
Section titled “MarkType”public override ChartType MarkType { get; }Returns
ChartGuru.ChartType