Skip to content

Z Axis Domains Ranges and Plot Size

The 3D module separates data domains from plot ranges. Domain methods describe data values. Range methods describe normalized plot extents, then PlotSize scales the result for the host.

  • Prefer ChartZScaleDomain for data semantics. Explicit scale ranges use plot units where the automatic extent is -0.5 to 0.5: a range of -0.65 to 0.65 spans 1.3 plot widths at any host size.

ChartXScaleDomain, ChartYScaleDomain and ChartZScaleDomain describe the data. Their range counterparts choose plot-space output extents. Parameterized ChartXScale, ChartYScale and ChartZScale overloads also support the configured nonlinear scale type and its parameter. Geometry, axes, labels and selection use the same configured scales, so do not pre-transform only the rendered marks.

Enable Chart3DComponent.PreserveDataProportions when equal distances in comparable X/Y/Z units should occupy equal visual distances; snapshots provide the same choice in Chart3DSnapshotOptions. Choose explicit plot size and ranges deliberately when axes have different units or when a dashboard needs a particular composition. A camera pose changes the view, while a scale domain changes the data mapping.