UNPKG

4.58 kBTypeScriptView Raw
1import withInterval, { IntervalProps } from './withInterval';
2import IntervalView from './view/intervalView';
3export { IntervalProps, withInterval, IntervalView };
4declare const _default: {
5 new <TRecord extends import("../../chart/Data").DataRecord = import("../../chart/Data").DataRecord, IProps extends IntervalProps<TRecord> = IntervalProps<TRecord>>(props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>, context?: any): {
6 getDefaultCfg(): {
7 geomType: string;
8 justifyContent: boolean;
9 startOnZero: boolean;
10 };
11 getDefaultSize(): number;
12 mapping(): any[];
13 getPointY0(): any;
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 getAttrOptions(props: any): {};
32 willReceiveProps(nextProps: any): void;
33 willMount(): void;
34 willUpdate(): void;
35 didMount(): void;
36 _initEvent(): void;
37 _createAttrs(): void;
38 _getThemeAttrsRange(): {
39 x: import("../../coord/types").Range;
40 y: import("../../coord/types").Range;
41 color: any;
42 size: any;
43 shape: any;
44 };
45 _createAdjust(): import("../geometry/Adjust").AdjustProps & {
46 adjust: import("../../deps/f2-adjust/src").Adjust;
47 };
48 _adjustScales(): void;
49 _groupData(data: any): any[];
50 _saveOrigin(originData: any): any[];
51 _numberic(data: any): void;
52 _adjustData(records: any): any;
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 _getXSnapRecords(invertPointX: any, records: any): any;
74 flatRecords(): any;
75 getSnapRecords(point: any, inCoordRange?: any): any[];
76 getRecords(data: any, field?: string): any[];
77 getLegendItems(): any;
78 isSelected(record: any): boolean;
79 getSelectionStyle(record: any): import("@antv/f-engine").ShapeStyleProps;
80 props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>;
81 state: import("../geometry/selection").SelectionState;
82 context: import("@antv/f-engine").IContext;
83 refs: {
84 [key: string]: import("@antv/f-engine/es/component").default<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
85 };
86 updater: import("@antv/f-engine/es/component/updater").Updater<import("../geometry/selection").SelectionState>;
87 container: import("@antv/g-lite").Group;
88 layout: import("@antv/f-engine").LayoutProps;
89 children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
90 isMounted: boolean;
91 animate: boolean;
92 animator: import("@antv/f-engine/es/canvas/render/animator").default;
93 destroyed: boolean;
94 _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
95 shouldUpdate(_nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
96 didUpdate(): void;
97 willUnmount(): void;
98 didUnmount(): void;
99 setState(partialState: import("../geometry/selection").SelectionState, callback?: () => void): void;
100 forceUpdate(callback?: () => void): void;
101 setAnimate(animate: boolean): void;
102 destroy(): void;
103 };
104};
105export default _default;