UNPKG

recharts

Version:
25 lines (24 loc) 859 B
import * as React from 'react'; import { AxisDomain, DataKey, ScaleType } from '../util/types'; import { RechartsScale } from '../util/ChartUtils'; import { AxisRange } from '../state/selectors/axisSelectors'; export interface Props { type?: 'number' | 'category'; /** The name of data displayed in the axis */ name?: string; /** The unit of data displayed in the axis */ unit?: string; /** The unique id of z-axis */ zAxisId?: string | number; /** The key of data displayed in the axis */ dataKey?: DataKey<any>; /** The range of axis */ range?: AxisRange; scale?: ScaleType | RechartsScale | undefined; /** The domain of scale in this axis */ domain?: AxisDomain; } export declare function ZAxis(outsideProps: Props): React.JSX.Element; export declare namespace ZAxis { var displayName: string; }