chartZScale(domain:range:type:)
Configures the z scale for 3D charts.
Declaration
nonisolated func chartZScale<Domain, Range>(domain: Domain, range: Range, type: ScaleType? = nil) -> some View where Domain : ScaleDomain, Range : PositionScaleRange
Parameters
- domain:
The possible data values along the z axis in the chart. You can define the domain with a
ClosedRangefor numeric values. - range:
The range of x positions that correspond to the scale domain. By default the range is determined by the dimension of the plot area.
- type:
The scale type.