1 | import { PositionLayout } from '../../chart/index';
|
2 | import Component from '../../base/component';
|
3 | import { Style, AxisProps } from './types';
|
4 | type BBox = {
|
5 | height: number;
|
6 | width: number;
|
7 | };
|
8 | declare const _default: (View: any) => {
|
9 | new (props: AxisProps): {
|
10 | style: Style;
|
11 | willReceiveProps(nextProps: AxisProps): void;
|
12 | willMount(): void;
|
13 | willUpdate(): void;
|
14 | getScaleOption(props: AxisProps): {
|
15 | type: any;
|
16 | tickCount: any;
|
17 | range: any;
|
18 | mask: any;
|
19 | formatter: any;
|
20 | min: any;
|
21 | max: any;
|
22 | nice: any;
|
23 | ticks: any;
|
24 | };
|
25 | _getDimType(): 'x' | 'y';
|
26 | getMaxBBox(ticks: any, style: Style): BBox;
|
27 | _getPosition(): "left" | "top" | "right" | "bottom";
|
28 | getTicks(): import("@antv/scale").Tick[];
|
29 | |
30 |
|
31 |
|
32 |
|
33 |
|
34 | _generateGridPoints(ticks: any): any;
|
35 | _setTicksStyle(ticks: any): any;
|
36 | convertTicks(ticks: any): any;
|
37 | measureLayout(): PositionLayout | PositionLayout[];
|
38 | updateCoord(): void;
|
39 | render(): import("../..").JSX.Element;
|
40 | props: AxisProps;
|
41 | state: {};
|
42 | context: import("../../base/component").ComponentContext;
|
43 | refs: {
|
44 | [key: string]: Component<any, any>;
|
45 | };
|
46 | updater: import("../../base/component").Updater<{}>;
|
47 | children: import("../..").JSX.Element;
|
48 | container: any;
|
49 | animate: boolean;
|
50 | destroyed: boolean;
|
51 | didMount(): void;
|
52 | didUpdate(): 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 | };
|
60 | export default _default;
|