UNPKG

2.98 kBTypeScriptView Raw
1import withAxis, { AxisProps } from './withAxis';
2import AxisView from './axisView';
3export { AxisProps, withAxis, AxisView };
4declare const _default: {
5 new <TRecord extends import("../../chart/Data").DataRecord = import("../../chart/Data").DataRecord, IProps extends AxisProps<TRecord, keyof TRecord> = AxisProps<TRecord, keyof TRecord>>(props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): {
6 axisStyle: import("./types").Style<void>;
7 willReceiveProps(nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): void;
8 willMount(): void;
9 willUpdate(): void;
10 getScaleOption(props: IProps): {
11 type: string;
12 tickCount: number;
13 range: any;
14 mask: string;
15 formatter: (value: import("../../chart/Data").DataValue<TRecord, keyof TRecord>) => string | number;
16 min: number;
17 max: number;
18 nice: boolean;
19 ticks: any;
20 };
21 _getDimType(): "x" | "y";
22 getMaxBBox(ticks: any, style: import("./types").Style<void>): {
23 height: number;
24 width: number;
25 };
26 _getPosition(): "left" | "top" | "right" | "bottom";
27 getTicks(): import("../../deps/f2-scale/src").Tick[];
28 _generateGridPoints(ticks: any): any;
29 _setTicksStyle(ticks: any): any;
30 convertTicks(ticks: any): any;
31 measureLayout(): import("../../chart").PositionLayout | import("../../chart").PositionLayout[];
32 updateCoord(): void;
33 render(): import("@antv/f-engine").JSX.Element;
34 props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>;
35 state: {};
36 context: import("@antv/f-engine").IContext;
37 refs: {
38 [key: string]: import("@antv/f-engine/es/component").default<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
39 };
40 updater: import("@antv/f-engine/es/component/updater").Updater<{}>;
41 container: import("@antv/g-lite").Group;
42 layout: import("@antv/f-engine").LayoutProps;
43 children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
44 isMounted: boolean;
45 animate: boolean;
46 animator: import("@antv/f-engine/es/canvas/render/animator").default;
47 destroyed: boolean;
48 _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
49 didMount(): void;
50 shouldUpdate(_nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
51 didUpdate(): void;
52 willUnmount(): void;
53 didUnmount(): void;
54 setState(partialState: {}, callback?: () => void): void;
55 forceUpdate(callback?: () => void): void;
56 setAnimate(animate: boolean): void;
57 destroy(): void;
58 };
59};
60export default _default;