UNPKG

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