@yamada-ui/charts 1.5.6 → 1.5.7-dev-20241110143958

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,10 @@ import { UseChartGridOptions } from './use-chart-grid.mjs';
7
7
  import { UseChartLegendProps } from './use-chart-legend.mjs';
8
8
  import { UseChartReferenceLineOptions } from './use-chart-reference-line.mjs';
9
9
  import { UseChartTooltipOptions } from './use-chart-tooltip.mjs';
10
+ import 'recharts/types/util/types';
11
+ import 'recharts/types/chart/types';
12
+ import 'lodash';
13
+ import 'recharts/types/chart/AccessibilityManager';
10
14
  import 'recharts/types/chart/generateCategoricalChart';
11
15
  import 'react';
12
16
  import '@yamada-ui/utils';
@@ -7,6 +7,10 @@ import { UseChartGridOptions } from './use-chart-grid.js';
7
7
  import { UseChartLegendProps } from './use-chart-legend.js';
8
8
  import { UseChartReferenceLineOptions } from './use-chart-reference-line.js';
9
9
  import { UseChartTooltipOptions } from './use-chart-tooltip.js';
10
+ import 'recharts/types/util/types';
11
+ import 'recharts/types/chart/types';
12
+ import 'lodash';
13
+ import 'recharts/types/chart/AccessibilityManager';
10
14
  import 'recharts/types/chart/generateCategoricalChart';
11
15
  import 'react';
12
16
  import '@yamada-ui/utils';
@@ -7,6 +7,10 @@ import { UseChartGridOptions } from './use-chart-grid.mjs';
7
7
  import { UseChartLegendProps } from './use-chart-legend.mjs';
8
8
  import { UseChartReferenceLineOptions } from './use-chart-reference-line.mjs';
9
9
  import { UseChartTooltipOptions } from './use-chart-tooltip.mjs';
10
+ import 'recharts/types/util/types';
11
+ import 'recharts/types/chart/types';
12
+ import 'lodash';
13
+ import 'recharts/types/chart/AccessibilityManager';
10
14
  import 'recharts/types/chart/generateCategoricalChart';
11
15
  import 'react';
12
16
  import '@yamada-ui/utils';
@@ -7,6 +7,10 @@ import { UseChartGridOptions } from './use-chart-grid.js';
7
7
  import { UseChartLegendProps } from './use-chart-legend.js';
8
8
  import { UseChartReferenceLineOptions } from './use-chart-reference-line.js';
9
9
  import { UseChartTooltipOptions } from './use-chart-tooltip.js';
10
+ import 'recharts/types/util/types';
11
+ import 'recharts/types/chart/types';
12
+ import 'lodash';
13
+ import 'recharts/types/chart/AccessibilityManager';
10
14
  import 'recharts/types/chart/generateCategoricalChart';
11
15
  import 'react';
12
16
  import '@yamada-ui/utils';
@@ -9,6 +9,10 @@ import './use-chart.mjs';
9
9
  import './use-chart-legend.mjs';
10
10
  import './use-chart-tooltip.mjs';
11
11
  import './use-pie-chart.mjs';
12
+ import 'recharts/types/util/types';
13
+ import 'recharts/types/chart/types';
14
+ import 'lodash';
15
+ import 'recharts/types/chart/AccessibilityManager';
12
16
  import 'recharts/types/chart/generateCategoricalChart';
13
17
 
14
18
  interface DonutChartOptions {
@@ -9,6 +9,10 @@ import './use-chart.js';
9
9
  import './use-chart-legend.js';
10
10
  import './use-chart-tooltip.js';
11
11
  import './use-pie-chart.js';
12
+ import 'recharts/types/util/types';
13
+ import 'recharts/types/chart/types';
14
+ import 'lodash';
15
+ import 'recharts/types/chart/AccessibilityManager';
12
16
  import 'recharts/types/chart/generateCategoricalChart';
13
17
 
14
18
  interface DonutChartOptions {
package/dist/index.d.mts CHANGED
@@ -10,6 +10,10 @@ export { BarCellProps } from './use-bar-chart.mjs';
10
10
  export { Cell as ChartCell } from 'recharts';
11
11
  import '@yamada-ui/core';
12
12
  import './use-area-chart.mjs';
13
+ import 'recharts/types/util/types';
14
+ import 'recharts/types/chart/types';
15
+ import 'lodash';
16
+ import 'recharts/types/chart/AccessibilityManager';
13
17
  import 'recharts/types/chart/generateCategoricalChart';
14
18
  import 'react';
15
19
  import '@yamada-ui/utils';
package/dist/index.d.ts CHANGED
@@ -10,6 +10,10 @@ export { BarCellProps } from './use-bar-chart.js';
10
10
  export { Cell as ChartCell } from 'recharts';
11
11
  import '@yamada-ui/core';
12
12
  import './use-area-chart.js';
13
+ import 'recharts/types/util/types';
14
+ import 'recharts/types/chart/types';
15
+ import 'lodash';
16
+ import 'recharts/types/chart/AccessibilityManager';
13
17
  import 'recharts/types/chart/generateCategoricalChart';
14
18
  import 'react';
15
19
  import '@yamada-ui/utils';
@@ -11,6 +11,10 @@ import 'react';
11
11
  import 'recharts';
12
12
  import './chart.types.mjs';
13
13
  import '@yamada-ui/utils';
14
+ import 'recharts/types/util/types';
15
+ import 'recharts/types/chart/types';
16
+ import 'lodash';
17
+ import 'recharts/types/chart/AccessibilityManager';
14
18
  import 'recharts/types/chart/generateCategoricalChart';
15
19
 
16
20
  interface LineChartOptions {
@@ -11,6 +11,10 @@ import 'react';
11
11
  import 'recharts';
12
12
  import './chart.types.js';
13
13
  import '@yamada-ui/utils';
14
+ import 'recharts/types/util/types';
15
+ import 'recharts/types/chart/types';
16
+ import 'lodash';
17
+ import 'recharts/types/chart/AccessibilityManager';
14
18
  import 'recharts/types/chart/generateCategoricalChart';
15
19
 
16
20
  interface LineChartOptions {
@@ -8,6 +8,10 @@ import { UsePieChartOptions } from './use-pie-chart.mjs';
8
8
  import '@yamada-ui/utils';
9
9
  import 'react';
10
10
  import 'recharts';
11
+ import 'recharts/types/util/types';
12
+ import 'recharts/types/chart/types';
13
+ import 'lodash';
14
+ import 'recharts/types/chart/AccessibilityManager';
11
15
  import 'recharts/types/chart/generateCategoricalChart';
12
16
 
13
17
  interface PieChartOptions {
@@ -8,6 +8,10 @@ import { UsePieChartOptions } from './use-pie-chart.js';
8
8
  import '@yamada-ui/utils';
9
9
  import 'react';
10
10
  import 'recharts';
11
+ import 'recharts/types/util/types';
12
+ import 'recharts/types/chart/types';
13
+ import 'lodash';
14
+ import 'recharts/types/chart/AccessibilityManager';
11
15
  import 'recharts/types/chart/generateCategoricalChart';
12
16
 
13
17
  interface PieChartOptions {
@@ -9,6 +9,10 @@ import 'react';
9
9
  import 'recharts';
10
10
  import './chart.types.mjs';
11
11
  import '@yamada-ui/utils';
12
+ import 'recharts/types/util/types';
13
+ import 'recharts/types/chart/types';
14
+ import 'lodash';
15
+ import 'recharts/types/chart/AccessibilityManager';
12
16
  import 'recharts/types/chart/generateCategoricalChart';
13
17
 
14
18
  interface RadarChartOptions {
@@ -9,6 +9,10 @@ import 'react';
9
9
  import 'recharts';
10
10
  import './chart.types.js';
11
11
  import '@yamada-ui/utils';
12
+ import 'recharts/types/util/types';
13
+ import 'recharts/types/chart/types';
14
+ import 'lodash';
15
+ import 'recharts/types/chart/AccessibilityManager';
12
16
  import 'recharts/types/chart/generateCategoricalChart';
13
17
 
14
18
  interface RadarChartOptions {
@@ -10,6 +10,10 @@ import { UseRadialChartOptions } from './use-radial-chart.mjs';
10
10
  import '@yamada-ui/utils';
11
11
  import 'react';
12
12
  import 'recharts';
13
+ import 'recharts/types/util/types';
14
+ import 'recharts/types/chart/types';
15
+ import 'lodash';
16
+ import 'recharts/types/chart/AccessibilityManager';
13
17
  import 'recharts/types/chart/generateCategoricalChart';
14
18
 
15
19
  interface RadialChartOptions {
@@ -10,6 +10,10 @@ import { UseRadialChartOptions } from './use-radial-chart.js';
10
10
  import '@yamada-ui/utils';
11
11
  import 'react';
12
12
  import 'recharts';
13
+ import 'recharts/types/util/types';
14
+ import 'recharts/types/chart/types';
15
+ import 'lodash';
16
+ import 'recharts/types/chart/AccessibilityManager';
13
17
  import 'recharts/types/chart/generateCategoricalChart';
14
18
 
15
19
  interface RadialChartOptions {
@@ -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 * as _yamada_ui_utils from '@yamada-ui/utils';
@@ -118,7 +122,327 @@ declare const useAreaChart: ({ type, connectNulls, curveType, data, fillOpacity,
118
122
  __prefix?: string;
119
123
  }[];
120
124
  setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
121
- getAreaChartProps: RequiredPropGetter<recharts_types_chart_generateCategoricalChart.CategoricalChartProps, recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
125
+ getAreaChartProps: RequiredPropGetter<Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
126
+ readonly eventEmitterSymbol: Symbol;
127
+ clipPathId: string;
128
+ accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
129
+ throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
130
+ container?: HTMLElement;
131
+ componentDidMount(): void;
132
+ displayDefaultTooltip(): void;
133
+ getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
134
+ componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
135
+ componentWillUnmount(): void;
136
+ getTooltipEventType(): recharts_types_util_types.TooltipEventType;
137
+ getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
138
+ xValue: any;
139
+ yValue: any;
140
+ chartX: number;
141
+ chartY: number;
142
+ } | {
143
+ activeTooltipIndex: number;
144
+ activeLabel: any;
145
+ activePayload: any[];
146
+ activeCoordinate: recharts_types_util_types.ChartCoordinate;
147
+ chartX: number;
148
+ chartY: number;
149
+ };
150
+ inRange(x: number, y: number, scale?: number): any;
151
+ parseEventsOfWrapper(): any;
152
+ addListener(): void;
153
+ removeListener(): void;
154
+ handleLegendBBoxUpdate: (box: DOMRect) => void;
155
+ handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
156
+ handleBrushChange: ({ startIndex, endIndex }: {
157
+ startIndex: number;
158
+ endIndex: number;
159
+ }) => void;
160
+ handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
161
+ triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
162
+ handleItemMouseEnter: (el: any) => void;
163
+ handleItemMouseLeave: () => void;
164
+ handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
165
+ handleMouseLeave: (e: any) => void;
166
+ handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
167
+ handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
168
+ handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
169
+ handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
170
+ handleTouchMove: (e: react.TouchEvent<Element>) => void;
171
+ handleTouchStart: (e: react.TouchEvent<Element>) => void;
172
+ handleTouchEnd: (e: react.TouchEvent<Element>) => void;
173
+ triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
174
+ applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
175
+ filterFormatItem(item: any, displayName: any, childIndex: any): any;
176
+ renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
177
+ renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
178
+ renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
179
+ renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
180
+ renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
181
+ renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
182
+ renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
183
+ renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
184
+ renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
185
+ renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
186
+ renderClipPath(): react.JSX.Element;
187
+ getXScales(): {
188
+ [x: string]: Function | recharts_types_util_types.ScaleType;
189
+ };
190
+ getYScales(): {
191
+ [x: string]: Function | recharts_types_util_types.ScaleType;
192
+ };
193
+ getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
194
+ getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
195
+ getItemByXY(chartXY: {
196
+ x: number;
197
+ y: number;
198
+ }): {
199
+ graphicalItem: any;
200
+ payload: any;
201
+ };
202
+ renderMap: {
203
+ CartesianGrid: {
204
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
205
+ once: boolean;
206
+ };
207
+ ReferenceArea: {
208
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
209
+ };
210
+ ReferenceLine: {
211
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
212
+ };
213
+ ReferenceDot: {
214
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
215
+ };
216
+ XAxis: {
217
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
218
+ };
219
+ YAxis: {
220
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
221
+ };
222
+ Brush: {
223
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
224
+ once: boolean;
225
+ };
226
+ Bar: {
227
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
228
+ };
229
+ Line: {
230
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
231
+ };
232
+ Area: {
233
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
234
+ };
235
+ Radar: {
236
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
237
+ };
238
+ RadialBar: {
239
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
240
+ };
241
+ Scatter: {
242
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
243
+ };
244
+ Pie: {
245
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
246
+ };
247
+ Funnel: {
248
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
249
+ };
250
+ Tooltip: {
251
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
252
+ once: boolean;
253
+ };
254
+ PolarGrid: {
255
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
256
+ once: boolean;
257
+ };
258
+ PolarAngleAxis: {
259
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
260
+ };
261
+ PolarRadiusAxis: {
262
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
263
+ };
264
+ Customized: {
265
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
266
+ };
267
+ };
268
+ render(): react.JSX.Element;
269
+ context: unknown;
270
+ 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;
271
+ forceUpdate(callback?: () => void): void;
272
+ readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
273
+ state: Readonly<recharts_types_chart_types.CategoricalChartState>;
274
+ refs: {
275
+ [key: string]: react.ReactInstance;
276
+ };
277
+ shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
278
+ componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
279
+ componentWillMount?(): void;
280
+ UNSAFE_componentWillMount?(): void;
281
+ componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
282
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
283
+ componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
284
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
285
+ }>, "ref">, Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
286
+ readonly eventEmitterSymbol: Symbol;
287
+ clipPathId: string;
288
+ accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
289
+ throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
290
+ container?: HTMLElement;
291
+ componentDidMount(): void;
292
+ displayDefaultTooltip(): void;
293
+ getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
294
+ componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
295
+ componentWillUnmount(): void;
296
+ getTooltipEventType(): recharts_types_util_types.TooltipEventType;
297
+ getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
298
+ xValue: any;
299
+ yValue: any;
300
+ chartX: number;
301
+ chartY: number;
302
+ } | {
303
+ activeTooltipIndex: number;
304
+ activeLabel: any;
305
+ activePayload: any[];
306
+ activeCoordinate: recharts_types_util_types.ChartCoordinate;
307
+ chartX: number;
308
+ chartY: number;
309
+ };
310
+ inRange(x: number, y: number, scale?: number): any;
311
+ parseEventsOfWrapper(): any;
312
+ addListener(): void;
313
+ removeListener(): void;
314
+ handleLegendBBoxUpdate: (box: DOMRect) => void;
315
+ handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
316
+ handleBrushChange: ({ startIndex, endIndex }: {
317
+ startIndex: number;
318
+ endIndex: number;
319
+ }) => void;
320
+ handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
321
+ triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
322
+ handleItemMouseEnter: (el: any) => void;
323
+ handleItemMouseLeave: () => void;
324
+ handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
325
+ handleMouseLeave: (e: any) => void;
326
+ handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
327
+ handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
328
+ handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
329
+ handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
330
+ handleTouchMove: (e: react.TouchEvent<Element>) => void;
331
+ handleTouchStart: (e: react.TouchEvent<Element>) => void;
332
+ handleTouchEnd: (e: react.TouchEvent<Element>) => void;
333
+ triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
334
+ applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
335
+ filterFormatItem(item: any, displayName: any, childIndex: any): any;
336
+ renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
337
+ renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
338
+ renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
339
+ renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
340
+ renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
341
+ renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
342
+ renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
343
+ renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
344
+ renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
345
+ renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
346
+ renderClipPath(): react.JSX.Element;
347
+ getXScales(): {
348
+ [x: string]: Function | recharts_types_util_types.ScaleType;
349
+ };
350
+ getYScales(): {
351
+ [x: string]: Function | recharts_types_util_types.ScaleType;
352
+ };
353
+ getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
354
+ getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
355
+ getItemByXY(chartXY: {
356
+ x: number;
357
+ y: number;
358
+ }): {
359
+ graphicalItem: any;
360
+ payload: any;
361
+ };
362
+ renderMap: {
363
+ CartesianGrid: {
364
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
365
+ once: boolean;
366
+ };
367
+ ReferenceArea: {
368
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
369
+ };
370
+ ReferenceLine: {
371
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
372
+ };
373
+ ReferenceDot: {
374
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
375
+ };
376
+ XAxis: {
377
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
378
+ };
379
+ YAxis: {
380
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
381
+ };
382
+ Brush: {
383
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
384
+ once: boolean;
385
+ };
386
+ Bar: {
387
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
388
+ };
389
+ Line: {
390
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
391
+ };
392
+ Area: {
393
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
394
+ };
395
+ Radar: {
396
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
397
+ };
398
+ RadialBar: {
399
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
400
+ };
401
+ Scatter: {
402
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
403
+ };
404
+ Pie: {
405
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
406
+ };
407
+ Funnel: {
408
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
409
+ };
410
+ Tooltip: {
411
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
412
+ once: boolean;
413
+ };
414
+ PolarGrid: {
415
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
416
+ once: boolean;
417
+ };
418
+ PolarAngleAxis: {
419
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
420
+ };
421
+ PolarRadiusAxis: {
422
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
423
+ };
424
+ Customized: {
425
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
426
+ };
427
+ };
428
+ render(): react.JSX.Element;
429
+ context: unknown;
430
+ 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;
431
+ forceUpdate(callback?: () => void): void;
432
+ readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
433
+ state: Readonly<recharts_types_chart_types.CategoricalChartState>;
434
+ refs: {
435
+ [key: string]: react.ReactInstance;
436
+ };
437
+ shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
438
+ componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
439
+ componentWillMount?(): void;
440
+ UNSAFE_componentWillMount?(): void;
441
+ componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
442
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
443
+ componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
444
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
445
+ }>, "ref">>;
122
446
  getAreaGradientProps: PropGetter<Partial<AreaGradientProps>, AreaGradientProps>;
123
447
  getAreaProps: RequiredPropGetter<{
124
448
  index: number;