ZAxis
Properties
- dataKeyString | Number | Function - 指定展示的数据维度。 
- zAxisIdString | Number - z 轴的唯一 id。 - 默认值:0 
- rangeArray - z 轴 scale 函数的值域。 - 默认值:[10, 10] 
- unitString | Numberoptional - z 轴展示数据的单位。这个单位会展示在 Tooltip 的数值后面。 
- nameString | Numberoptional - z 轴展示数据的名称。这个单位会展示在 Tooltip 内容中。 
- scale'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold' | Function - 当值为 "auto" 时,会根据图表类型来生成 scale 函数,也可以传入自定义的函数作为 scale 函数。 - 默认值:auto - 格式: - <ZAxis scale="log" /> import { scaleLog } from 'd3-scale'; const scale = scaleLog().base(Math.E); ... <ZAxis scale={scale} /> ...