Skip to content

SurfaceStyle

EnumChartGuruChartGuru
public enum SurfaceStyle

Surface styling options shared between the core Chart model and the 3D add-on. Swift Charts equivalent: Chart3DSurfaceStyle.

Solid = 0

Flat solid colour from foregroundStyle.

Returns

ChartGuru.SurfaceStyle — No return description is available.

Gradient = 1

Gradient from ForegroundStyle(LinearGradient/EllipticalGradient).

Returns

ChartGuru.SurfaceStyle — No return description is available.

HeightBased = 2

Per-vertex colouring by surface Height (y). Swift: .heightBased.

Returns

ChartGuru.SurfaceStyle — No return description is available.

NormalBased = 3

Per-vertex colouring by surface normal direction. Swift: .normalBased.

Returns

ChartGuru.SurfaceStyle — No return description is available.