UNPKG

12.2 kBTypeScriptView Raw
1export declare const RadarChart: import("react").ForwardRefExoticComponent<import("./generateCategoricalChart").CategoricalChartProps & import("react").RefAttributes<{
2 readonly eventEmitterSymbol: Symbol;
3 clipPathId: string;
4 accessibilityManager: import("./AccessibilityManager").AccessibilityManager;
5 throttleTriggeredAfterMouseMove: import("lodash").DebouncedFunc<(e: import("./generateCategoricalChart").MousePointer) => any>;
6 container?: HTMLElement;
7 componentDidMount(): void;
8 displayDefaultTooltip(): void;
9 getSnapshotBeforeUpdate(prevProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, prevState: Readonly<import("./types").CategoricalChartState>): null;
10 componentDidUpdate(prevProps: import("./generateCategoricalChart").CategoricalChartProps): void;
11 componentWillUnmount(): void;
12 getTooltipEventType(): import("../util/types").TooltipEventType;
13 getMouseInfo(event: import("./generateCategoricalChart").MousePointer): {
14 xValue: any;
15 yValue: any;
16 chartX: number;
17 chartY: number;
18 } | {
19 activeTooltipIndex: number;
20 activeLabel: any;
21 activePayload: any[];
22 activeCoordinate: import("../util/types").ChartCoordinate;
23 chartX: number;
24 chartY: number;
25 };
26 inRange(x: number, y: number, scale?: number): any;
27 parseEventsOfWrapper(): any;
28 addListener(): void;
29 removeListener(): void;
30 handleLegendBBoxUpdate: (box: DOMRect) => void;
31 handleReceiveSyncEvent: (cId: string | number, data: import("./types").CategoricalChartState, emitter: Symbol) => void;
32 handleBrushChange: ({ startIndex, endIndex }: {
33 startIndex: number;
34 endIndex: number;
35 }) => void;
36 handleMouseEnter: (e: import("react").MouseEvent<Element, MouseEvent>) => void;
37 triggeredAfterMouseMove: (e: import("./generateCategoricalChart").MousePointer) => any;
38 handleItemMouseEnter: (el: any) => void;
39 handleItemMouseLeave: () => void;
40 handleMouseMove: (e: import("./generateCategoricalChart").MousePointer & Partial<Omit<import("react").MouseEvent<Element, MouseEvent>, keyof import("./generateCategoricalChart").MousePointer>>) => void;
41 handleMouseLeave: (e: any) => void;
42 handleOuterEvent: (e: import("react").MouseEvent<Element, MouseEvent> | import("react").TouchEvent<Element>) => void;
43 handleClick: (e: import("react").MouseEvent<Element, MouseEvent>) => void;
44 handleMouseDown: (e: import("react").MouseEvent<Element, MouseEvent> | import("react").Touch) => void;
45 handleMouseUp: (e: import("react").MouseEvent<Element, MouseEvent> | import("react").Touch) => void;
46 handleTouchMove: (e: import("react").TouchEvent<Element>) => void;
47 handleTouchStart: (e: import("react").TouchEvent<Element>) => void;
48 handleTouchEnd: (e: import("react").TouchEvent<Element>) => void;
49 handleDoubleClick: (e: import("react").MouseEvent<Element, MouseEvent>) => void;
50 handleContextMenu: (e: import("react").MouseEvent<Element, MouseEvent>) => void;
51 triggerSyncEvent: (data: import("./types").CategoricalChartState) => void;
52 applySyncEvent: (data: import("./types").CategoricalChartState) => void;
53 filterFormatItem(item: any, displayName: any, childIndex: any): any;
54 renderCursor: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
55 renderPolarAxis: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
56 renderPolarGrid: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
57 renderLegend: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
58 renderTooltip: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
59 renderBrush: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
60 renderReferenceElement: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
61 renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[];
62 renderGraphicChild: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
63 renderCustomized: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
64 renderClipPath(): import("react").JSX.Element;
65 getXScales(): {
66 [x: string]: Function | import("../util/types").ScaleType;
67 };
68 getYScales(): {
69 [x: string]: Function | import("../util/types").ScaleType;
70 };
71 getXScaleByAxisId(axisId: string): Function | import("../util/types").ScaleType;
72 getYScaleByAxisId(axisId: string): Function | import("../util/types").ScaleType;
73 getItemByXY(chartXY: {
74 x: number;
75 y: number;
76 }): {
77 graphicalItem: any;
78 payload: any;
79 };
80 renderMap: {
81 CartesianGrid: {
82 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
83 once: boolean;
84 };
85 ReferenceArea: {
86 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
87 };
88 ReferenceLine: {
89 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
90 };
91 ReferenceDot: {
92 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
93 };
94 XAxis: {
95 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
96 };
97 YAxis: {
98 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
99 };
100 Brush: {
101 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
102 once: boolean;
103 };
104 Bar: {
105 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
106 };
107 Line: {
108 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
109 };
110 Area: {
111 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
112 };
113 Radar: {
114 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
115 };
116 RadialBar: {
117 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
118 };
119 Scatter: {
120 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
121 };
122 Pie: {
123 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
124 };
125 Funnel: {
126 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => any[];
127 };
128 Tooltip: {
129 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
130 once: boolean;
131 };
132 PolarGrid: {
133 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
134 once: boolean;
135 };
136 PolarAngleAxis: {
137 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
138 };
139 PolarRadiusAxis: {
140 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
141 };
142 Customized: {
143 handler: (element: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, displayName: string, index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
144 };
145 };
146 render(): import("react").JSX.Element;
147 context: unknown;
148 setState<K extends keyof import("./types").CategoricalChartState>(state: import("./types").CategoricalChartState | ((prevState: Readonly<import("./types").CategoricalChartState>, props: Readonly<import("./generateCategoricalChart").CategoricalChartProps>) => import("./types").CategoricalChartState | Pick<import("./types").CategoricalChartState, K>) | Pick<import("./types").CategoricalChartState, K>, callback?: () => void): void;
149 forceUpdate(callback?: () => void): void;
150 readonly props: Readonly<import("./generateCategoricalChart").CategoricalChartProps>;
151 state: Readonly<import("./types").CategoricalChartState>;
152 refs: {
153 [key: string]: import("react").ReactInstance;
154 };
155 shouldComponentUpdate?(nextProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, nextState: Readonly<import("./types").CategoricalChartState>, nextContext: any): boolean;
156 componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
157 componentWillMount?(): void;
158 UNSAFE_componentWillMount?(): void;
159 componentWillReceiveProps?(nextProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, nextContext: any): void;
160 UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, nextContext: any): void;
161 componentWillUpdate?(nextProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, nextState: Readonly<import("./types").CategoricalChartState>, nextContext: any): void;
162 UNSAFE_componentWillUpdate?(nextProps: Readonly<import("./generateCategoricalChart").CategoricalChartProps>, nextState: Readonly<import("./types").CategoricalChartState>, nextContext: any): void;
163}>>;
164
\No newline at end of file