Skip to content

Area3DMark

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

3D area mark: a slab from the baseline up to the series' points, curved by its interpolation like the line.

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

Creates one point of a 3D area at data coordinates (x, y, z); the area marks that share its series key form one slab, in chart order, from zero up to their Y values.

Parameters

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

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

Parameters

NameType
pChartGuru.DataPoint3D

public Area3DMark RibbonThickness(float t)

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

Parameters

NameType
tSystem.Single

Returns

ChartGuru.Area3DMark

InterpolationMethod(InterpolationMethod, float)

Section titled “InterpolationMethod(InterpolationMethod, float)”
public Area3DMark 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.Area3DMark

public override IChartMark Clone()

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

Returns

ChartGuru.IChartMark

public override ChartType MarkType { get; }

Returns

ChartGuru.ChartType