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