ZAxis
Parent Components
Properties
dataKeyString | Number | Function
The key of data displayed in the axis.
zAxisIdString | Number
The unique id of z-axis.
DEFAULT: 0
rangeArray
The range of axis.
DEFAULT: [10, 10]
unitString | Numberoptional
The unit of data displayed in the axis. This option will be used to represent an index unit in a scatter chart.
nameString | Numberoptional
The name of data displayed in the axis. This option will be used to represent an index in a scatter chart.
scale'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold' | Function
If 'auto' set, the scale function is decided by the type of chart, and the props type.
DEFAULT: auto
FORMAT:
<ZAxis scale="log" /> import { scaleLog } from 'd3-scale'; const scale = scaleLog().base(Math.E); ... <ZAxis scale={scale} /> ...