@yamada-ui/charts 1.5.6 → 1.5.7-dev-20241110150258
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/area-chart.d.mts +4 -0
- package/dist/area-chart.d.ts +4 -0
- package/dist/bar-chart.d.mts +4 -0
- package/dist/bar-chart.d.ts +4 -0
- package/dist/donut-chart.d.mts +4 -0
- package/dist/donut-chart.d.ts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/line-chart.d.mts +4 -0
- package/dist/line-chart.d.ts +4 -0
- package/dist/pie-chart.d.mts +4 -0
- package/dist/pie-chart.d.ts +4 -0
- package/dist/radar-chart.d.mts +4 -0
- package/dist/radar-chart.d.ts +4 -0
- package/dist/radial-chart.d.mts +4 -0
- package/dist/radial-chart.d.ts +4 -0
- package/dist/use-area-chart.d.mts +325 -1
- package/dist/use-area-chart.d.ts +325 -1
- package/dist/use-bar-chart.d.mts +325 -1
- package/dist/use-bar-chart.d.ts +325 -1
- package/dist/use-line-chart.d.mts +325 -1
- package/dist/use-line-chart.d.ts +325 -1
- package/dist/use-pie-chart.d.mts +325 -1
- package/dist/use-pie-chart.d.ts +325 -1
- package/dist/use-radar-chart.d.mts +325 -1
- package/dist/use-radar-chart.d.ts +325 -1
- package/dist/use-radial-chart.d.mts +325 -1
- package/dist/use-radial-chart.d.ts +325 -1
- package/package.json +3 -3
package/dist/use-bar-chart.d.mts
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
import * as recharts_types_util_types from 'recharts/types/util/types';
|
2
|
+
import * as recharts_types_chart_types from 'recharts/types/chart/types';
|
3
|
+
import * as lodash from 'lodash';
|
4
|
+
import * as recharts_types_chart_AccessibilityManager from 'recharts/types/chart/AccessibilityManager';
|
1
5
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
2
6
|
import * as react from 'react';
|
3
7
|
import { FC, ReactNode } from 'react';
|
@@ -78,7 +82,327 @@ declare const useBarChart: ({ type, cell, data, fillOpacity, layoutType, series,
|
|
78
82
|
__prefix?: string;
|
79
83
|
}[];
|
80
84
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
81
|
-
getBarChartProps: PropGetter<recharts_types_chart_generateCategoricalChart.CategoricalChartProps
|
85
|
+
getBarChartProps: PropGetter<Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
|
86
|
+
readonly eventEmitterSymbol: Symbol;
|
87
|
+
clipPathId: string;
|
88
|
+
accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
|
89
|
+
throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
|
90
|
+
container?: HTMLElement;
|
91
|
+
componentDidMount(): void;
|
92
|
+
displayDefaultTooltip(): void;
|
93
|
+
getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
|
94
|
+
componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
|
95
|
+
componentWillUnmount(): void;
|
96
|
+
getTooltipEventType(): recharts_types_util_types.TooltipEventType;
|
97
|
+
getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
|
98
|
+
xValue: any;
|
99
|
+
yValue: any;
|
100
|
+
chartX: number;
|
101
|
+
chartY: number;
|
102
|
+
} | {
|
103
|
+
activeTooltipIndex: number;
|
104
|
+
activeLabel: any;
|
105
|
+
activePayload: any[];
|
106
|
+
activeCoordinate: recharts_types_util_types.ChartCoordinate;
|
107
|
+
chartX: number;
|
108
|
+
chartY: number;
|
109
|
+
};
|
110
|
+
inRange(x: number, y: number, scale?: number): any;
|
111
|
+
parseEventsOfWrapper(): any;
|
112
|
+
addListener(): void;
|
113
|
+
removeListener(): void;
|
114
|
+
handleLegendBBoxUpdate: (box: DOMRect) => void;
|
115
|
+
handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
|
116
|
+
handleBrushChange: ({ startIndex, endIndex }: {
|
117
|
+
startIndex: number;
|
118
|
+
endIndex: number;
|
119
|
+
}) => void;
|
120
|
+
handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
121
|
+
triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
|
122
|
+
handleItemMouseEnter: (el: any) => void;
|
123
|
+
handleItemMouseLeave: () => void;
|
124
|
+
handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
|
125
|
+
handleMouseLeave: (e: any) => void;
|
126
|
+
handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
|
127
|
+
handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
128
|
+
handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
129
|
+
handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
130
|
+
handleTouchMove: (e: react.TouchEvent<Element>) => void;
|
131
|
+
handleTouchStart: (e: react.TouchEvent<Element>) => void;
|
132
|
+
handleTouchEnd: (e: react.TouchEvent<Element>) => void;
|
133
|
+
triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
134
|
+
applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
135
|
+
filterFormatItem(item: any, displayName: any, childIndex: any): any;
|
136
|
+
renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
137
|
+
renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
138
|
+
renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
139
|
+
renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
140
|
+
renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
141
|
+
renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
142
|
+
renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
143
|
+
renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
|
144
|
+
renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
145
|
+
renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
146
|
+
renderClipPath(): react.JSX.Element;
|
147
|
+
getXScales(): {
|
148
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
149
|
+
};
|
150
|
+
getYScales(): {
|
151
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
152
|
+
};
|
153
|
+
getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
154
|
+
getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
155
|
+
getItemByXY(chartXY: {
|
156
|
+
x: number;
|
157
|
+
y: number;
|
158
|
+
}): {
|
159
|
+
graphicalItem: any;
|
160
|
+
payload: any;
|
161
|
+
};
|
162
|
+
renderMap: {
|
163
|
+
CartesianGrid: {
|
164
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
165
|
+
once: boolean;
|
166
|
+
};
|
167
|
+
ReferenceArea: {
|
168
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
169
|
+
};
|
170
|
+
ReferenceLine: {
|
171
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
172
|
+
};
|
173
|
+
ReferenceDot: {
|
174
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
175
|
+
};
|
176
|
+
XAxis: {
|
177
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
178
|
+
};
|
179
|
+
YAxis: {
|
180
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
181
|
+
};
|
182
|
+
Brush: {
|
183
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
184
|
+
once: boolean;
|
185
|
+
};
|
186
|
+
Bar: {
|
187
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
188
|
+
};
|
189
|
+
Line: {
|
190
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
191
|
+
};
|
192
|
+
Area: {
|
193
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
194
|
+
};
|
195
|
+
Radar: {
|
196
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
197
|
+
};
|
198
|
+
RadialBar: {
|
199
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
200
|
+
};
|
201
|
+
Scatter: {
|
202
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
203
|
+
};
|
204
|
+
Pie: {
|
205
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
206
|
+
};
|
207
|
+
Funnel: {
|
208
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
209
|
+
};
|
210
|
+
Tooltip: {
|
211
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
212
|
+
once: boolean;
|
213
|
+
};
|
214
|
+
PolarGrid: {
|
215
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
216
|
+
once: boolean;
|
217
|
+
};
|
218
|
+
PolarAngleAxis: {
|
219
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
220
|
+
};
|
221
|
+
PolarRadiusAxis: {
|
222
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
223
|
+
};
|
224
|
+
Customized: {
|
225
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
226
|
+
};
|
227
|
+
};
|
228
|
+
render(): react.JSX.Element;
|
229
|
+
context: unknown;
|
230
|
+
setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
|
231
|
+
forceUpdate(callback?: () => void): void;
|
232
|
+
readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
233
|
+
state: Readonly<recharts_types_chart_types.CategoricalChartState>;
|
234
|
+
refs: {
|
235
|
+
[key: string]: react.ReactInstance;
|
236
|
+
};
|
237
|
+
shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
|
238
|
+
componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
|
239
|
+
componentWillMount?(): void;
|
240
|
+
UNSAFE_componentWillMount?(): void;
|
241
|
+
componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
242
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
243
|
+
componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
244
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
245
|
+
}>, "ref">, Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
|
246
|
+
readonly eventEmitterSymbol: Symbol;
|
247
|
+
clipPathId: string;
|
248
|
+
accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
|
249
|
+
throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
|
250
|
+
container?: HTMLElement;
|
251
|
+
componentDidMount(): void;
|
252
|
+
displayDefaultTooltip(): void;
|
253
|
+
getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
|
254
|
+
componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
|
255
|
+
componentWillUnmount(): void;
|
256
|
+
getTooltipEventType(): recharts_types_util_types.TooltipEventType;
|
257
|
+
getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
|
258
|
+
xValue: any;
|
259
|
+
yValue: any;
|
260
|
+
chartX: number;
|
261
|
+
chartY: number;
|
262
|
+
} | {
|
263
|
+
activeTooltipIndex: number;
|
264
|
+
activeLabel: any;
|
265
|
+
activePayload: any[];
|
266
|
+
activeCoordinate: recharts_types_util_types.ChartCoordinate;
|
267
|
+
chartX: number;
|
268
|
+
chartY: number;
|
269
|
+
};
|
270
|
+
inRange(x: number, y: number, scale?: number): any;
|
271
|
+
parseEventsOfWrapper(): any;
|
272
|
+
addListener(): void;
|
273
|
+
removeListener(): void;
|
274
|
+
handleLegendBBoxUpdate: (box: DOMRect) => void;
|
275
|
+
handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
|
276
|
+
handleBrushChange: ({ startIndex, endIndex }: {
|
277
|
+
startIndex: number;
|
278
|
+
endIndex: number;
|
279
|
+
}) => void;
|
280
|
+
handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
281
|
+
triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
|
282
|
+
handleItemMouseEnter: (el: any) => void;
|
283
|
+
handleItemMouseLeave: () => void;
|
284
|
+
handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
|
285
|
+
handleMouseLeave: (e: any) => void;
|
286
|
+
handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
|
287
|
+
handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
288
|
+
handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
289
|
+
handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
290
|
+
handleTouchMove: (e: react.TouchEvent<Element>) => void;
|
291
|
+
handleTouchStart: (e: react.TouchEvent<Element>) => void;
|
292
|
+
handleTouchEnd: (e: react.TouchEvent<Element>) => void;
|
293
|
+
triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
294
|
+
applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
295
|
+
filterFormatItem(item: any, displayName: any, childIndex: any): any;
|
296
|
+
renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
297
|
+
renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
298
|
+
renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
299
|
+
renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
300
|
+
renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
301
|
+
renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
302
|
+
renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
303
|
+
renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
|
304
|
+
renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
305
|
+
renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
306
|
+
renderClipPath(): react.JSX.Element;
|
307
|
+
getXScales(): {
|
308
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
309
|
+
};
|
310
|
+
getYScales(): {
|
311
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
312
|
+
};
|
313
|
+
getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
314
|
+
getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
315
|
+
getItemByXY(chartXY: {
|
316
|
+
x: number;
|
317
|
+
y: number;
|
318
|
+
}): {
|
319
|
+
graphicalItem: any;
|
320
|
+
payload: any;
|
321
|
+
};
|
322
|
+
renderMap: {
|
323
|
+
CartesianGrid: {
|
324
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
325
|
+
once: boolean;
|
326
|
+
};
|
327
|
+
ReferenceArea: {
|
328
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
329
|
+
};
|
330
|
+
ReferenceLine: {
|
331
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
332
|
+
};
|
333
|
+
ReferenceDot: {
|
334
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
335
|
+
};
|
336
|
+
XAxis: {
|
337
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
338
|
+
};
|
339
|
+
YAxis: {
|
340
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
341
|
+
};
|
342
|
+
Brush: {
|
343
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
344
|
+
once: boolean;
|
345
|
+
};
|
346
|
+
Bar: {
|
347
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
348
|
+
};
|
349
|
+
Line: {
|
350
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
351
|
+
};
|
352
|
+
Area: {
|
353
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
354
|
+
};
|
355
|
+
Radar: {
|
356
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
357
|
+
};
|
358
|
+
RadialBar: {
|
359
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
360
|
+
};
|
361
|
+
Scatter: {
|
362
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
363
|
+
};
|
364
|
+
Pie: {
|
365
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
366
|
+
};
|
367
|
+
Funnel: {
|
368
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
369
|
+
};
|
370
|
+
Tooltip: {
|
371
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
372
|
+
once: boolean;
|
373
|
+
};
|
374
|
+
PolarGrid: {
|
375
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
376
|
+
once: boolean;
|
377
|
+
};
|
378
|
+
PolarAngleAxis: {
|
379
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
380
|
+
};
|
381
|
+
PolarRadiusAxis: {
|
382
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
383
|
+
};
|
384
|
+
Customized: {
|
385
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
386
|
+
};
|
387
|
+
};
|
388
|
+
render(): react.JSX.Element;
|
389
|
+
context: unknown;
|
390
|
+
setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
|
391
|
+
forceUpdate(callback?: () => void): void;
|
392
|
+
readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
393
|
+
state: Readonly<recharts_types_chart_types.CategoricalChartState>;
|
394
|
+
refs: {
|
395
|
+
[key: string]: react.ReactInstance;
|
396
|
+
};
|
397
|
+
shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
|
398
|
+
componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
|
399
|
+
componentWillMount?(): void;
|
400
|
+
UNSAFE_componentWillMount?(): void;
|
401
|
+
componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
402
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
403
|
+
componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
404
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
405
|
+
}>, "ref">>;
|
82
406
|
getBarProps: RequiredPropGetter<{
|
83
407
|
index: number;
|
84
408
|
} & Partial<Recharts.BarProps>, Omit<Recharts.BarProps, "ref">>;
|