UNPKG

4.74 kBTypeScriptView Raw
1import withArea, { AreaProps } from './withArea';
2import AreaView from './areaView';
3export { AreaProps, withArea, AreaView };
4declare const _default: {
5 new <TRecord extends import("../../chart/Data").DataRecord = import("../../chart/Data").DataRecord, IProps extends AreaProps<TRecord> = AreaProps<TRecord>>(props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>, context?: any): {
6 getDefaultCfg(): {
7 geomType: string;
8 startOnZero: boolean;
9 sortable: boolean;
10 };
11 getBaseY(): any;
12 mapping(): any[];
13 render(): import("@antv/f-engine").JSX.Element;
14 splitPoints(points: any): any[][];
15 splitNulls(points: any, connectNulls: any): any[];
16 concatPoints(topPoints: import("../../chart").Point[], bottomPoints: import("../../chart").Point[]): import("../../chart").Point[];
17 isGeometry: boolean;
18 geomType: import("../geometry").GeometryType;
19 attrs: any;
20 adjust: import("../geometry/Adjust").AdjustProps & {
21 adjust: import("../../deps/f2-adjust/src").Adjust;
22 };
23 dataArray: any;
24 dataRecords: any[];
25 records: any[];
26 mappedArray: any;
27 justifyContent: boolean;
28 startOnZero: boolean;
29 connectNulls: boolean;
30 sortable: boolean;
31 attrController: import("../../controller/attr").default;
32 animation: import("@antv/f-engine").AnimationProps;
33 getAttrOptions(props: any): {};
34 willReceiveProps(nextProps: any): void;
35 willMount(): void;
36 willUpdate(): void;
37 didMount(): void;
38 _initEvent(): void;
39 _createAttrs(): void;
40 _getThemeAttrsRange(): {
41 x: import("../../coord/types").Range;
42 y: import("../../coord/types").Range;
43 color: any;
44 size: any;
45 shape: any;
46 };
47 _createAdjust(): import("../geometry/Adjust").AdjustProps & {
48 adjust: import("../../deps/f2-adjust/src").Adjust;
49 };
50 _adjustScales(): void;
51 _groupData(data: any): any[];
52 _saveOrigin(originData: any): any[];
53 _numberic(data: any): void;
54 _adjustData(records: any): any;
55 _processData(): void;
56 _readjustData(records: any): void;
57 _sortData(records: any): void;
58 getY0Value(): any;
59 _getShapeStyle(shape: any, origin: any): any;
60 _mapping(records: any): any[];
61 getClip(): {
62 type: string;
63 style: {
64 x: number;
65 y: number;
66 width: number;
67 height: number;
68 };
69 };
70 getAttr(attrName: string): any;
71 getXScale(): import("../..").Scale;
72 getYScale(): import("../..").Scale;
73 _getXSnap(invertPointX: any): any;
74 _getYSnapRecords(invertPointY: any, records: any): any;
75 _getXSnapRecords(invertPointX: any, records: any): any;
76 flatRecords(): any;
77 getSnapRecords(point: any, inCoordRange?: any): any[];
78 getRecords(data: any, field?: string): any[];
79 getLegendItems(): any;
80 isSelected(record: any): boolean;
81 getSelectionStyle(record: any): import("@antv/f-engine").ShapeStyleProps;
82 props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>;
83 state: import("../geometry/selection").SelectionState;
84 context: import("@antv/f-engine").IContext;
85 refs: {
86 [key: string]: import("@antv/f-engine/es/component").default<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
87 };
88 updater: import("@antv/f-engine/es/component/updater").Updater<import("../geometry/selection").SelectionState>;
89 container: import("@antv/g-lite").Group;
90 layout: import("@antv/f-engine").LayoutProps;
91 children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
92 isMounted: boolean;
93 animate: boolean;
94 animator: import("@antv/f-engine/es/canvas/render/animator").default;
95 destroyed: boolean;
96 _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
97 shouldUpdate(_nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
98 didUpdate(): void;
99 willUnmount(): void;
100 didUnmount(): void;
101 setState(partialState: import("../geometry/selection").SelectionState, callback?: () => void): void;
102 forceUpdate(callback?: () => void): void;
103 setAnimate(animate: boolean): void;
104 destroy(): void;
105 };
106};
107export default _default;