recharts
Version:
React charts
32 lines (31 loc) • 891 B
TypeScript
/**
* @fileOverview Z Axis
*/
import React from 'react';
import { ScaleType, DataKey, AxisDomain } from '../util/types';
export interface Props {
type?: 'number' | 'category';
/** The name of data displayed in the axis */
name?: string | number;
/** The unit of data displayed in the axis */
unit?: string | number;
/** 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?: number[];
scale?: ScaleType | Function;
/** The domain of scale in this axis */
domain?: AxisDomain;
}
export declare class ZAxis extends React.Component<Props> {
static displayName: string;
static defaultProps: {
zAxisId: number;
range: number[];
scale: string;
type: string;
};
render(): React.ReactNode;
}