Contents

chartZScale(domain:type:)

Configures the z scale for 3D charts.

Declaration

nonisolated func chartZScale<Domain>(domain: Domain, type: ScaleType? = nil) -> some View where Domain : ScaleDomain

Parameters

  • domain:

    The possible data values along the z axis in the chart. You can define the domain with a ClosedRange for numeric values (e.g., 0 ... 500).

  • type:

    The scale type.