UNPKG

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