UNPKG

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