@mui/x-charts 6.18.0 → 7.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/BarChart.d.ts +15 -8
- package/BarChart/BarChart.js +41 -4
- package/BarChart/BarPlot.d.ts +2 -2
- package/CHANGELOG.md +212 -5
- package/ChartsAxis/ChartsAxis.d.ts +3 -3
- package/ChartsAxis/ChartsAxis.js +5 -5
- package/ChartsAxis/axisClasses.d.ts +2 -2
- package/ChartsLegend/ChartsLegend.d.ts +10 -6
- package/ChartsLegend/ChartsLegend.js +137 -2
- package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/ChartsLegend/chartsLegendClasses.js +2 -2
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +10 -0
- package/ChartsReferenceLine/ChartsReferenceLine.js +78 -0
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +13 -0
- package/ChartsReferenceLine/ChartsXReferenceLine.js +112 -0
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +13 -0
- package/ChartsReferenceLine/ChartsYReferenceLine.js +112 -0
- package/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +15 -0
- package/ChartsReferenceLine/chartsReferenceLineClasses.js +14 -0
- package/ChartsReferenceLine/common.d.ts +41 -0
- package/ChartsReferenceLine/common.js +27 -0
- package/ChartsReferenceLine/index.d.ts +2 -0
- package/ChartsReferenceLine/index.js +27 -0
- package/ChartsReferenceLine/package.json +6 -0
- package/ChartsSurface.d.ts +11 -0
- package/ChartsTooltip/ChartsTooltip.d.ts +4 -4
- package/ChartsXAxis/ChartsXAxis.js +9 -5
- package/ChartsYAxis/ChartsYAxis.js +9 -5
- package/LineChart/AreaPlot.d.ts +2 -2
- package/LineChart/LineChart.d.ts +18 -11
- package/LineChart/LineChart.js +41 -4
- package/LineChart/LineHighlightPlot.d.ts +4 -4
- package/LineChart/LineHighlightPlot.js +1 -1
- package/LineChart/LinePlot.d.ts +2 -2
- package/LineChart/MarkPlot.d.ts +4 -4
- package/LineChart/MarkPlot.js +2 -1
- package/PieChart/PieArcLabelPlot.d.ts +4 -4
- package/PieChart/PieArcPlot.d.ts +4 -4
- package/PieChart/PieChart.d.ts +8 -8
- package/PieChart/PieChart.js +34 -4
- package/PieChart/PiePlot.d.ts +6 -6
- package/ResponsiveChartContainer/index.d.ts +13 -3
- package/ScatterChart/ScatterChart.d.ts +8 -8
- package/ScatterChart/ScatterChart.js +34 -4
- package/ScatterChart/ScatterPlot.d.ts +4 -4
- package/SparkLineChart/SparkLineChart.d.ts +10 -10
- package/SparkLineChart/SparkLineChart.js +22 -0
- package/context/CartesianContextProvider.d.ts +21 -1
- package/context/CartesianContextProvider.js +11 -0
- package/context/DrawingProvider.d.ts +18 -0
- package/context/DrawingProvider.js +6 -0
- package/context/HighlightProvider.d.ts +17 -0
- package/context/InteractionProvider.d.ts +6 -0
- package/context/SeriesContextProvider.d.ts +5 -0
- package/esm/BarChart/BarChart.js +41 -4
- package/esm/ChartsAxis/ChartsAxis.js +6 -5
- package/esm/ChartsLegend/ChartsLegend.js +140 -4
- package/esm/ChartsLegend/chartsLegendClasses.js +1 -1
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +70 -0
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +105 -0
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +105 -0
- package/esm/ChartsReferenceLine/chartsReferenceLineClasses.js +6 -0
- package/esm/ChartsReferenceLine/common.js +20 -0
- package/esm/ChartsReferenceLine/index.js +2 -0
- package/esm/ChartsXAxis/ChartsXAxis.js +10 -6
- package/esm/ChartsYAxis/ChartsYAxis.js +10 -6
- package/esm/LineChart/LineChart.js +41 -4
- package/esm/LineChart/LineHighlightPlot.js +1 -1
- package/esm/LineChart/MarkPlot.js +2 -1
- package/esm/PieChart/PieChart.js +34 -4
- package/esm/ScatterChart/ScatterChart.js +34 -4
- package/esm/SparkLineChart/SparkLineChart.js +22 -0
- package/esm/context/CartesianContextProvider.js +11 -0
- package/esm/context/DrawingProvider.js +6 -0
- package/esm/index.js +2 -0
- package/esm/internals/geometry.js +2 -2
- package/hooks/useScale.d.ts +2 -2
- package/index.d.ts +2 -0
- package/index.js +23 -1
- package/internals/components/ChartsText.d.ts +1 -1
- package/internals/geometry.d.ts +2 -2
- package/internals/geometry.js +2 -2
- package/internals/isBandScale.d.ts +3 -1
- package/internals/utils.d.ts +5 -0
- package/legacy/BarChart/BarChart.js +41 -4
- package/legacy/ChartsAxis/ChartsAxis.js +6 -5
- package/legacy/ChartsLegend/ChartsLegend.js +140 -4
- package/legacy/ChartsLegend/chartsLegendClasses.js +1 -1
- package/legacy/ChartsReferenceLine/ChartsReferenceLine.js +70 -0
- package/legacy/ChartsReferenceLine/ChartsXReferenceLine.js +105 -0
- package/legacy/ChartsReferenceLine/ChartsYReferenceLine.js +105 -0
- package/legacy/ChartsReferenceLine/chartsReferenceLineClasses.js +6 -0
- package/legacy/ChartsReferenceLine/common.js +20 -0
- package/legacy/ChartsReferenceLine/index.js +2 -0
- package/legacy/ChartsXAxis/ChartsXAxis.js +15 -12
- package/legacy/ChartsYAxis/ChartsYAxis.js +15 -12
- package/legacy/LineChart/LineChart.js +41 -4
- package/legacy/LineChart/LineHighlightPlot.js +1 -1
- package/legacy/LineChart/MarkPlot.js +2 -1
- package/legacy/PieChart/PieChart.js +34 -4
- package/legacy/ScatterChart/ScatterChart.js +34 -4
- package/legacy/SparkLineChart/SparkLineChart.js +22 -0
- package/legacy/context/CartesianContextProvider.js +11 -0
- package/legacy/context/DrawingProvider.js +6 -0
- package/legacy/index.js +3 -1
- package/legacy/internals/geometry.js +2 -2
- package/models/axis.d.ts +37 -17
- package/models/layout.d.ts +6 -0
- package/models/seriesType/common.d.ts +16 -0
- package/modern/BarChart/BarChart.js +41 -4
- package/modern/ChartsAxis/ChartsAxis.js +5 -5
- package/modern/ChartsLegend/ChartsLegend.js +140 -4
- package/modern/ChartsLegend/chartsLegendClasses.js +1 -1
- package/modern/ChartsReferenceLine/ChartsReferenceLine.js +70 -0
- package/modern/ChartsReferenceLine/ChartsXReferenceLine.js +104 -0
- package/modern/ChartsReferenceLine/ChartsYReferenceLine.js +104 -0
- package/modern/ChartsReferenceLine/chartsReferenceLineClasses.js +6 -0
- package/modern/ChartsReferenceLine/common.js +20 -0
- package/modern/ChartsReferenceLine/index.js +2 -0
- package/modern/ChartsXAxis/ChartsXAxis.js +9 -5
- package/modern/ChartsYAxis/ChartsYAxis.js +9 -5
- package/modern/LineChart/LineChart.js +41 -4
- package/modern/LineChart/LineHighlightPlot.js +1 -1
- package/modern/LineChart/MarkPlot.js +2 -1
- package/modern/PieChart/PieChart.js +34 -4
- package/modern/ScatterChart/ScatterChart.js +34 -4
- package/modern/SparkLineChart/SparkLineChart.js +22 -0
- package/modern/context/CartesianContextProvider.js +11 -0
- package/modern/context/DrawingProvider.js +6 -0
- package/modern/index.js +3 -1
- package/modern/internals/geometry.js +2 -2
- package/package.json +1 -1
package/ChartsSurface.d.ts
CHANGED
|
@@ -7,7 +7,13 @@ type ViewBox = {
|
|
|
7
7
|
height?: number;
|
|
8
8
|
};
|
|
9
9
|
export interface ChartsSurfaceProps {
|
|
10
|
+
/**
|
|
11
|
+
* The width of the chart in px.
|
|
12
|
+
*/
|
|
10
13
|
width: number;
|
|
14
|
+
/**
|
|
15
|
+
* The height of the chart in px.
|
|
16
|
+
*/
|
|
11
17
|
height: number;
|
|
12
18
|
viewBox?: ViewBox;
|
|
13
19
|
className?: string;
|
|
@@ -15,6 +21,11 @@ export interface ChartsSurfaceProps {
|
|
|
15
21
|
desc?: string;
|
|
16
22
|
sx?: SxProps<Theme>;
|
|
17
23
|
children?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* If `true`, the charts will not listen to the mouse move event.
|
|
26
|
+
* It might break interactive features, but will improve performance.
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
18
29
|
disableAxisListener?: boolean;
|
|
19
30
|
}
|
|
20
31
|
export declare const ChartsSurface: React.ForwardRefExoticComponent<ChartsSurfaceProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -4,12 +4,12 @@ import { TriggerOptions } from './utils';
|
|
|
4
4
|
import { ChartsItemContentProps } from './ChartsItemTooltipContent';
|
|
5
5
|
import { ChartsAxisContentProps } from './ChartsAxisTooltipContent';
|
|
6
6
|
import { ChartsTooltipClasses } from './tooltipClasses';
|
|
7
|
-
export interface
|
|
7
|
+
export interface ChartsTooltipSlots {
|
|
8
8
|
popper?: React.ElementType<PopperProps>;
|
|
9
9
|
axisContent?: React.ElementType<ChartsAxisContentProps>;
|
|
10
10
|
itemContent?: React.ElementType<ChartsItemContentProps>;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface ChartsTooltipSlotProps {
|
|
13
13
|
popper?: Partial<PopperProps>;
|
|
14
14
|
axisContent?: Partial<ChartsAxisContentProps>;
|
|
15
15
|
itemContent?: Partial<ChartsItemContentProps>;
|
|
@@ -41,12 +41,12 @@ export type ChartsTooltipProps = {
|
|
|
41
41
|
* Overridable component slots.
|
|
42
42
|
* @default {}
|
|
43
43
|
*/
|
|
44
|
-
slots?:
|
|
44
|
+
slots?: ChartsTooltipSlots;
|
|
45
45
|
/**
|
|
46
46
|
* The props used for each component slot.
|
|
47
47
|
* @default {}
|
|
48
48
|
*/
|
|
49
|
-
slotProps?:
|
|
49
|
+
slotProps?: ChartsTooltipSlotProps;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* Demos:
|
|
@@ -114,17 +114,20 @@ function ChartsXAxis(inProps) {
|
|
|
114
114
|
props: (0, _extends2.default)({}, defaultProps, inProps),
|
|
115
115
|
name: 'MuiChartsXAxis'
|
|
116
116
|
});
|
|
117
|
+
const {
|
|
118
|
+
xAxisIds
|
|
119
|
+
} = React.useContext(_CartesianContextProvider.CartesianContext);
|
|
117
120
|
const _React$useContext = React.useContext(_CartesianContextProvider.CartesianContext),
|
|
118
|
-
|
|
121
|
+
_ref = props.axisId ?? xAxisIds[0],
|
|
119
122
|
{
|
|
120
123
|
xAxis: {
|
|
121
|
-
[
|
|
124
|
+
[_ref]: {
|
|
122
125
|
scale: xScale,
|
|
123
126
|
tickNumber
|
|
124
127
|
}
|
|
125
128
|
}
|
|
126
129
|
} = _React$useContext,
|
|
127
|
-
settings = (0, _objectWithoutPropertiesLoose2.default)(_React$useContext.xAxis[
|
|
130
|
+
settings = (0, _objectWithoutPropertiesLoose2.default)(_React$useContext.xAxis[_ref], _excluded);
|
|
128
131
|
const isMounted = (0, _useMounted.useMounted)();
|
|
129
132
|
const defaultizedProps = (0, _extends2.default)({}, defaultProps, settings, props);
|
|
130
133
|
const {
|
|
@@ -242,9 +245,10 @@ process.env.NODE_ENV !== "production" ? ChartsXAxis.propTypes = {
|
|
|
242
245
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
243
246
|
// ----------------------------------------------------------------------
|
|
244
247
|
/**
|
|
245
|
-
*
|
|
248
|
+
* The id of the axis to render.
|
|
249
|
+
* If undefined, it will be the first defined axis.
|
|
246
250
|
*/
|
|
247
|
-
axisId: _propTypes.default.string
|
|
251
|
+
axisId: _propTypes.default.string,
|
|
248
252
|
/**
|
|
249
253
|
* Override or extend the styles applied to the component.
|
|
250
254
|
*/
|
|
@@ -60,17 +60,20 @@ function ChartsYAxis(inProps) {
|
|
|
60
60
|
props: (0, _extends2.default)({}, defaultProps, inProps),
|
|
61
61
|
name: 'MuiChartsYAxis'
|
|
62
62
|
});
|
|
63
|
+
const {
|
|
64
|
+
yAxisIds
|
|
65
|
+
} = React.useContext(_CartesianContextProvider.CartesianContext);
|
|
63
66
|
const _React$useContext = React.useContext(_CartesianContextProvider.CartesianContext),
|
|
64
|
-
|
|
67
|
+
_ref = props.axisId ?? yAxisIds[0],
|
|
65
68
|
{
|
|
66
69
|
yAxis: {
|
|
67
|
-
[
|
|
70
|
+
[_ref]: {
|
|
68
71
|
scale: yScale,
|
|
69
72
|
tickNumber
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
} = _React$useContext,
|
|
73
|
-
settings = (0, _objectWithoutPropertiesLoose2.default)(_React$useContext.yAxis[
|
|
76
|
+
settings = (0, _objectWithoutPropertiesLoose2.default)(_React$useContext.yAxis[_ref], _excluded);
|
|
74
77
|
const defaultizedProps = (0, _extends2.default)({}, defaultProps, settings, props);
|
|
75
78
|
const {
|
|
76
79
|
position,
|
|
@@ -175,9 +178,10 @@ process.env.NODE_ENV !== "production" ? ChartsYAxis.propTypes = {
|
|
|
175
178
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
176
179
|
// ----------------------------------------------------------------------
|
|
177
180
|
/**
|
|
178
|
-
*
|
|
181
|
+
* The id of the axis to render.
|
|
182
|
+
* If undefined, it will be the first defined axis.
|
|
179
183
|
*/
|
|
180
|
-
axisId: _propTypes.default.string
|
|
184
|
+
axisId: _propTypes.default.string,
|
|
181
185
|
/**
|
|
182
186
|
* Override or extend the styles applied to the component.
|
|
183
187
|
*/
|
package/LineChart/AreaPlot.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AreaElementProps } from './AreaElement';
|
|
3
|
-
export interface
|
|
3
|
+
export interface AreaPlotSlots {
|
|
4
4
|
area?: React.JSXElementConstructor<AreaElementProps>;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface AreaPlotSlotProps {
|
|
7
7
|
area?: Partial<AreaElementProps>;
|
|
8
8
|
}
|
|
9
9
|
export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<AreaElementProps, 'slots' | 'slotProps'> {
|
package/LineChart/LineChart.d.ts
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AreaPlotSlotProps, AreaPlotSlots } from './AreaPlot';
|
|
3
|
+
import { LinePlotSlotProps, LinePlotSlots } from './LinePlot';
|
|
4
4
|
import { ResponsiveChartContainerProps } from '../ResponsiveChartContainer';
|
|
5
|
-
import {
|
|
5
|
+
import { MarkPlotSlotProps, MarkPlotSlots } from './MarkPlot';
|
|
6
6
|
import { ChartsAxisProps } from '../ChartsAxis/ChartsAxis';
|
|
7
7
|
import { LineSeriesType } from '../models/seriesType/line';
|
|
8
8
|
import { MakeOptional } from '../models/helpers';
|
|
9
|
-
import { ChartsTooltipProps,
|
|
10
|
-
import { ChartsLegendProps,
|
|
9
|
+
import { ChartsTooltipProps, ChartsTooltipSlotProps, ChartsTooltipSlots } from '../ChartsTooltip';
|
|
10
|
+
import { ChartsLegendProps, ChartsLegendSlotProps, ChartsLegendSlots } from '../ChartsLegend';
|
|
11
11
|
import { ChartsAxisHighlightProps } from '../ChartsAxisHighlight';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
export interface
|
|
12
|
+
import { ChartsAxisSlotProps, ChartsAxisSlots } from '../models/axis';
|
|
13
|
+
import { LineHighlightPlotSlots, LineHighlightPlotSlotProps } from './LineHighlightPlot';
|
|
14
|
+
export interface LineChartSlots extends ChartsAxisSlots, AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, ChartsLegendSlots, ChartsTooltipSlots {
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface LineChartSlotProps extends ChartsAxisSlotProps, AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, ChartsLegendSlotProps, ChartsTooltipSlotProps {
|
|
17
17
|
}
|
|
18
18
|
export interface LineChartProps extends Omit<ResponsiveChartContainerProps, 'series'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'> {
|
|
19
19
|
series: MakeOptional<LineSeriesType, 'type'>[];
|
|
20
20
|
tooltip?: ChartsTooltipProps;
|
|
21
|
+
/**
|
|
22
|
+
* Object `{ x, y }` that defines how the charts highlight the mouse position along the x- and y-axes.
|
|
23
|
+
* The two properties accept the following values:
|
|
24
|
+
* - 'none': display nothing.
|
|
25
|
+
* - 'line': display a line at the current mouse position.
|
|
26
|
+
* - 'band': display a band at the current mouse position. Only available with band scale.
|
|
27
|
+
*/
|
|
21
28
|
axisHighlight?: ChartsAxisHighlightProps;
|
|
22
29
|
/**
|
|
23
30
|
* @deprecated Consider using `slotProps.legend` instead.
|
|
@@ -31,12 +38,12 @@ export interface LineChartProps extends Omit<ResponsiveChartContainerProps, 'ser
|
|
|
31
38
|
* Overridable component slots.
|
|
32
39
|
* @default {}
|
|
33
40
|
*/
|
|
34
|
-
slots?:
|
|
41
|
+
slots?: LineChartSlots;
|
|
35
42
|
/**
|
|
36
43
|
* The props used for each component slot.
|
|
37
44
|
* @default {}
|
|
38
45
|
*/
|
|
39
|
-
slotProps?:
|
|
46
|
+
slotProps?: LineChartSlotProps;
|
|
40
47
|
}
|
|
41
48
|
/**
|
|
42
49
|
* Demos:
|
package/LineChart/LineChart.js
CHANGED
|
@@ -119,6 +119,13 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
119
119
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
120
120
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
121
121
|
// ----------------------------------------------------------------------
|
|
122
|
+
/**
|
|
123
|
+
* Object `{ x, y }` that defines how the charts highlight the mouse position along the x- and y-axes.
|
|
124
|
+
* The two properties accept the following values:
|
|
125
|
+
* - 'none': display nothing.
|
|
126
|
+
* - 'line': display a line at the current mouse position.
|
|
127
|
+
* - 'band': display a band at the current mouse position. Only available with band scale.
|
|
128
|
+
*/
|
|
122
129
|
axisHighlight: _propTypes.default.shape({
|
|
123
130
|
x: _propTypes.default.oneOf(['band', 'line', 'none']),
|
|
124
131
|
y: _propTypes.default.oneOf(['band', 'line', 'none'])
|
|
@@ -129,7 +136,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
129
136
|
* @default xAxisIds[0] The id of the first provided axis
|
|
130
137
|
*/
|
|
131
138
|
bottomAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
132
|
-
axisId: _propTypes.default.string
|
|
139
|
+
axisId: _propTypes.default.string,
|
|
133
140
|
classes: _propTypes.default.object,
|
|
134
141
|
disableLine: _propTypes.default.bool,
|
|
135
142
|
disableTicks: _propTypes.default.bool,
|
|
@@ -156,13 +163,25 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
156
163
|
* Color palette used to colorize multiple series.
|
|
157
164
|
*/
|
|
158
165
|
colors: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string), _propTypes.default.func]),
|
|
166
|
+
/**
|
|
167
|
+
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
168
|
+
*/
|
|
159
169
|
dataset: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
160
170
|
desc: _propTypes.default.string,
|
|
171
|
+
/**
|
|
172
|
+
* If `true`, the charts will not listen to the mouse move event.
|
|
173
|
+
* It might break interactive features, but will improve performance.
|
|
174
|
+
* @default false
|
|
175
|
+
*/
|
|
161
176
|
disableAxisListener: _propTypes.default.bool,
|
|
162
177
|
/**
|
|
163
178
|
* If `true`, render the line highlight item.
|
|
164
179
|
*/
|
|
165
180
|
disableLineItemHighlight: _propTypes.default.bool,
|
|
181
|
+
/**
|
|
182
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
183
|
+
* @default undefined
|
|
184
|
+
*/
|
|
166
185
|
height: _propTypes.default.number,
|
|
167
186
|
/**
|
|
168
187
|
* Indicate which axis to display the left of the charts.
|
|
@@ -170,7 +189,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
170
189
|
* @default yAxisIds[0] The id of the first provided axis
|
|
171
190
|
*/
|
|
172
191
|
leftAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
173
|
-
axisId: _propTypes.default.string
|
|
192
|
+
axisId: _propTypes.default.string,
|
|
174
193
|
classes: _propTypes.default.object,
|
|
175
194
|
disableLine: _propTypes.default.bool,
|
|
176
195
|
disableTicks: _propTypes.default.bool,
|
|
@@ -205,6 +224,12 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
205
224
|
slotProps: _propTypes.default.object,
|
|
206
225
|
slots: _propTypes.default.object
|
|
207
226
|
}),
|
|
227
|
+
/**
|
|
228
|
+
* The margin between the SVG and the drawing area.
|
|
229
|
+
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
230
|
+
* Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
231
|
+
* @default object Depends on the charts type.
|
|
232
|
+
*/
|
|
208
233
|
margin: _propTypes.default.shape({
|
|
209
234
|
bottom: _propTypes.default.number,
|
|
210
235
|
left: _propTypes.default.number,
|
|
@@ -217,7 +242,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
217
242
|
* @default null
|
|
218
243
|
*/
|
|
219
244
|
rightAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
220
|
-
axisId: _propTypes.default.string
|
|
245
|
+
axisId: _propTypes.default.string,
|
|
221
246
|
classes: _propTypes.default.object,
|
|
222
247
|
disableLine: _propTypes.default.bool,
|
|
223
248
|
disableTicks: _propTypes.default.bool,
|
|
@@ -287,7 +312,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
287
312
|
* @default null
|
|
288
313
|
*/
|
|
289
314
|
topAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
290
|
-
axisId: _propTypes.default.string
|
|
315
|
+
axisId: _propTypes.default.string,
|
|
291
316
|
classes: _propTypes.default.object,
|
|
292
317
|
disableLine: _propTypes.default.bool,
|
|
293
318
|
disableTicks: _propTypes.default.bool,
|
|
@@ -314,7 +339,15 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
314
339
|
x: _propTypes.default.number,
|
|
315
340
|
y: _propTypes.default.number
|
|
316
341
|
}),
|
|
342
|
+
/**
|
|
343
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
344
|
+
* @default undefined
|
|
345
|
+
*/
|
|
317
346
|
width: _propTypes.default.number,
|
|
347
|
+
/**
|
|
348
|
+
* The configuration of the x-axes.
|
|
349
|
+
* If not provided, a default axis config is used with id set to `DEFAULT_X_AXIS_KEY`.
|
|
350
|
+
*/
|
|
318
351
|
xAxis: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
319
352
|
axisId: _propTypes.default.string,
|
|
320
353
|
classes: _propTypes.default.object,
|
|
@@ -345,6 +378,10 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
345
378
|
tickSize: _propTypes.default.number,
|
|
346
379
|
valueFormatter: _propTypes.default.func
|
|
347
380
|
})),
|
|
381
|
+
/**
|
|
382
|
+
* The configuration of the y-axes.
|
|
383
|
+
* If not provided, a default axis config is used with id set to `DEFAULT_Y_AXIS_KEY`.
|
|
384
|
+
*/
|
|
348
385
|
yAxis: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
349
386
|
axisId: _propTypes.default.string,
|
|
350
387
|
classes: _propTypes.default.object,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { LineHighlightElementProps } from './LineHighlightElement';
|
|
3
|
-
export interface
|
|
3
|
+
export interface LineHighlightPlotSlots {
|
|
4
4
|
lineHighlight?: React.JSXElementConstructor<LineHighlightElementProps>;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface LineHighlightPlotSlotProps {
|
|
7
7
|
lineHighlight?: Partial<LineHighlightElementProps>;
|
|
8
8
|
}
|
|
9
9
|
export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -11,12 +11,12 @@ export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElemen
|
|
|
11
11
|
* Overridable component slots.
|
|
12
12
|
* @default {}
|
|
13
13
|
*/
|
|
14
|
-
slots?:
|
|
14
|
+
slots?: LineHighlightPlotSlots;
|
|
15
15
|
/**
|
|
16
16
|
* The props used for each component slot.
|
|
17
17
|
* @default {}
|
|
18
18
|
*/
|
|
19
|
-
slotProps?:
|
|
19
|
+
slotProps?: LineHighlightPlotSlotProps;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Demos:
|
|
@@ -81,7 +81,7 @@ function LineHighlightPlot(props) {
|
|
|
81
81
|
throw new Error(`Axis of id "${xAxisKey}" should have data property to be able to display a line plot.`);
|
|
82
82
|
}
|
|
83
83
|
const x = xScale(xData[highlightedIndex]);
|
|
84
|
-
const y = yScale(stackedData[highlightedIndex][1]);
|
|
84
|
+
const y = yScale(stackedData[highlightedIndex][1]); // This should not be undefined since y should not be a band scale
|
|
85
85
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Element, (0, _extends2.default)({
|
|
86
86
|
id: seriesId,
|
|
87
87
|
color: series[seriesId].color,
|
package/LineChart/LinePlot.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { LineElementProps } from './LineElement';
|
|
3
|
-
export interface
|
|
3
|
+
export interface LinePlotSlots {
|
|
4
4
|
line?: React.JSXElementConstructor<LineElementProps>;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface LinePlotSlotProps {
|
|
7
7
|
line?: Partial<LineElementProps>;
|
|
8
8
|
}
|
|
9
9
|
export interface LinePlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<LineElementProps, 'slots' | 'slotProps'> {
|
package/LineChart/MarkPlot.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MarkElementProps } from './MarkElement';
|
|
3
|
-
export interface
|
|
3
|
+
export interface MarkPlotSlots {
|
|
4
4
|
mark?: React.JSXElementConstructor<MarkElementProps>;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface MarkPlotSlotProps {
|
|
7
7
|
mark?: Partial<MarkElementProps>;
|
|
8
8
|
}
|
|
9
9
|
export interface MarkPlotProps extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -11,12 +11,12 @@ export interface MarkPlotProps extends React.SVGAttributes<SVGSVGElement> {
|
|
|
11
11
|
* Overridable component slots.
|
|
12
12
|
* @default {}
|
|
13
13
|
*/
|
|
14
|
-
slots?:
|
|
14
|
+
slots?: MarkPlotSlots;
|
|
15
15
|
/**
|
|
16
16
|
* The props used for each component slot.
|
|
17
17
|
* @default {}
|
|
18
18
|
*/
|
|
19
|
-
slotProps?:
|
|
19
|
+
slotProps?: MarkPlotSlotProps;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Demos:
|
package/LineChart/MarkPlot.js
CHANGED
|
@@ -134,7 +134,8 @@ function MarkPlot(props) {
|
|
|
134
134
|
shape: "circle",
|
|
135
135
|
color: series[seriesId].color,
|
|
136
136
|
x: x,
|
|
137
|
-
y: y
|
|
137
|
+
y: y // Don't knwo why TS don't get from the filter that y can't be null
|
|
138
|
+
,
|
|
138
139
|
highlightScope: series[seriesId].highlightScope
|
|
139
140
|
}, slotProps?.mark), `${seriesId}-${index}`);
|
|
140
141
|
});
|
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { DefaultizedPieSeriesType } from '../models/seriesType/pie';
|
|
3
3
|
import { PieArcLabelProps } from './PieArcLabel';
|
|
4
4
|
import { DefaultizedProps } from '../models/helpers';
|
|
5
|
-
export interface
|
|
5
|
+
export interface PieArcLabelPlotSlots {
|
|
6
6
|
pieArcLabel?: React.JSXElementConstructor<PieArcLabelProps>;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface PieArcLabelPlotSlotProps {
|
|
9
9
|
pieArcLabel?: Partial<PieArcLabelProps>;
|
|
10
10
|
}
|
|
11
11
|
export interface PieArcLabelPlotProps extends DefaultizedProps<Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'innerRadius' | 'outerRadius' | 'cornerRadius' | 'paddingAngle' | 'arcLabel' | 'arcLabelMinAngle' | 'id' | 'highlightScope'>, 'outerRadius'> {
|
|
@@ -13,12 +13,12 @@ export interface PieArcLabelPlotProps extends DefaultizedProps<Pick<DefaultizedP
|
|
|
13
13
|
* Overridable component slots.
|
|
14
14
|
* @default {}
|
|
15
15
|
*/
|
|
16
|
-
slots?:
|
|
16
|
+
slots?: PieArcLabelPlotSlots;
|
|
17
17
|
/**
|
|
18
18
|
* The props used for each component slot.
|
|
19
19
|
* @default {}
|
|
20
20
|
*/
|
|
21
|
-
slotProps?:
|
|
21
|
+
slotProps?: PieArcLabelPlotSlotProps;
|
|
22
22
|
/**
|
|
23
23
|
* If `true`, animations are skiped.
|
|
24
24
|
* @default false
|
package/PieChart/PieArcPlot.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { PieArcProps } from './PieArc';
|
|
3
3
|
import { DefaultizedPieSeriesType, DefaultizedPieValueType, PieItemIdentifier } from '../models/seriesType/pie';
|
|
4
4
|
import { DefaultizedProps } from '../models/helpers';
|
|
5
|
-
export interface
|
|
5
|
+
export interface PieArcPlotSlots {
|
|
6
6
|
pieArc?: React.JSXElementConstructor<PieArcProps>;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface PieArcPlotSlotProps {
|
|
9
9
|
pieArc?: Partial<PieArcProps>;
|
|
10
10
|
}
|
|
11
11
|
export interface PieArcPlotProps extends DefaultizedProps<Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'innerRadius' | 'outerRadius' | 'cornerRadius' | 'paddingAngle' | 'id' | 'highlightScope'>, 'outerRadius'> {
|
|
@@ -13,12 +13,12 @@ export interface PieArcPlotProps extends DefaultizedProps<Pick<DefaultizedPieSer
|
|
|
13
13
|
* Overridable component slots.
|
|
14
14
|
* @default {}
|
|
15
15
|
*/
|
|
16
|
-
slots?:
|
|
16
|
+
slots?: PieArcPlotSlots;
|
|
17
17
|
/**
|
|
18
18
|
* The props used for each component slot.
|
|
19
19
|
* @default {}
|
|
20
20
|
*/
|
|
21
|
-
slotProps?:
|
|
21
|
+
slotProps?: PieArcPlotSlotProps;
|
|
22
22
|
/**
|
|
23
23
|
* Callback fired when a pie item is clicked.
|
|
24
24
|
* @param {React.MouseEvent<SVGPathElement, MouseEvent>} event The event source of the callback.
|
package/PieChart/PieChart.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { ResponsiveChartContainerProps } from '../ResponsiveChartContainer';
|
|
|
3
3
|
import { ChartsAxisProps } from '../ChartsAxis/ChartsAxis';
|
|
4
4
|
import { PieSeriesType } from '../models/seriesType';
|
|
5
5
|
import { MakeOptional } from '../models/helpers';
|
|
6
|
-
import { ChartsTooltipProps,
|
|
7
|
-
import { ChartsLegendProps,
|
|
6
|
+
import { ChartsTooltipProps, ChartsTooltipSlotProps, ChartsTooltipSlots } from '../ChartsTooltip';
|
|
7
|
+
import { ChartsLegendProps, ChartsLegendSlotProps, ChartsLegendSlots } from '../ChartsLegend';
|
|
8
8
|
import { ChartsAxisHighlightProps } from '../ChartsAxisHighlight';
|
|
9
|
-
import { PiePlotProps,
|
|
9
|
+
import { PiePlotProps, PiePlotSlotProps, PiePlotSlots } from './PiePlot';
|
|
10
10
|
import { PieValueType } from '../models/seriesType/pie';
|
|
11
|
-
import {
|
|
12
|
-
export interface
|
|
11
|
+
import { ChartsAxisSlots, ChartsAxisSlotProps } from '../models/axis';
|
|
12
|
+
export interface PieChartSlots extends ChartsAxisSlots, PiePlotSlots, ChartsLegendSlots, ChartsTooltipSlots {
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface PieChartSlotProps extends ChartsAxisSlotProps, PiePlotSlotProps, ChartsLegendSlotProps, ChartsTooltipSlotProps {
|
|
15
15
|
}
|
|
16
16
|
export interface PieChartProps extends Omit<ResponsiveChartContainerProps, 'series'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Pick<PiePlotProps, 'skipAnimation'> {
|
|
17
17
|
series: MakeOptional<PieSeriesType<MakeOptional<PieValueType, 'id'>>, 'type'>[];
|
|
@@ -22,12 +22,12 @@ export interface PieChartProps extends Omit<ResponsiveChartContainerProps, 'seri
|
|
|
22
22
|
*/
|
|
23
23
|
legend?: ChartsLegendProps;
|
|
24
24
|
onClick?: PiePlotProps['onClick'];
|
|
25
|
-
slots?:
|
|
25
|
+
slots?: PieChartSlots;
|
|
26
26
|
/**
|
|
27
27
|
* The props used for each component slot.
|
|
28
28
|
* @default {}
|
|
29
29
|
*/
|
|
30
|
-
slotProps?:
|
|
30
|
+
slotProps?: PieChartSlotProps;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Demos:
|
package/PieChart/PieChart.js
CHANGED
|
@@ -119,7 +119,7 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
119
119
|
* @default xAxisIds[0] The id of the first provided axis
|
|
120
120
|
*/
|
|
121
121
|
bottomAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
122
|
-
axisId: _propTypes.default.string
|
|
122
|
+
axisId: _propTypes.default.string,
|
|
123
123
|
classes: _propTypes.default.object,
|
|
124
124
|
disableLine: _propTypes.default.bool,
|
|
125
125
|
disableTicks: _propTypes.default.bool,
|
|
@@ -146,9 +146,21 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
146
146
|
* Color palette used to colorize multiple series.
|
|
147
147
|
*/
|
|
148
148
|
colors: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string), _propTypes.default.func]),
|
|
149
|
+
/**
|
|
150
|
+
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
151
|
+
*/
|
|
149
152
|
dataset: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
150
153
|
desc: _propTypes.default.string,
|
|
154
|
+
/**
|
|
155
|
+
* If `true`, the charts will not listen to the mouse move event.
|
|
156
|
+
* It might break interactive features, but will improve performance.
|
|
157
|
+
* @default false
|
|
158
|
+
*/
|
|
151
159
|
disableAxisListener: _propTypes.default.bool,
|
|
160
|
+
/**
|
|
161
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
162
|
+
* @default undefined
|
|
163
|
+
*/
|
|
152
164
|
height: _propTypes.default.number,
|
|
153
165
|
/**
|
|
154
166
|
* Indicate which axis to display the left of the charts.
|
|
@@ -156,7 +168,7 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
156
168
|
* @default yAxisIds[0] The id of the first provided axis
|
|
157
169
|
*/
|
|
158
170
|
leftAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
159
|
-
axisId: _propTypes.default.string
|
|
171
|
+
axisId: _propTypes.default.string,
|
|
160
172
|
classes: _propTypes.default.object,
|
|
161
173
|
disableLine: _propTypes.default.bool,
|
|
162
174
|
disableTicks: _propTypes.default.bool,
|
|
@@ -191,6 +203,12 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
191
203
|
slotProps: _propTypes.default.object,
|
|
192
204
|
slots: _propTypes.default.object
|
|
193
205
|
}),
|
|
206
|
+
/**
|
|
207
|
+
* The margin between the SVG and the drawing area.
|
|
208
|
+
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
209
|
+
* Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
210
|
+
* @default object Depends on the charts type.
|
|
211
|
+
*/
|
|
194
212
|
margin: _propTypes.default.shape({
|
|
195
213
|
bottom: _propTypes.default.number,
|
|
196
214
|
left: _propTypes.default.number,
|
|
@@ -204,7 +222,7 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
204
222
|
* @default null
|
|
205
223
|
*/
|
|
206
224
|
rightAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
207
|
-
axisId: _propTypes.default.string
|
|
225
|
+
axisId: _propTypes.default.string,
|
|
208
226
|
classes: _propTypes.default.object,
|
|
209
227
|
disableLine: _propTypes.default.bool,
|
|
210
228
|
disableTicks: _propTypes.default.bool,
|
|
@@ -295,7 +313,7 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
295
313
|
* @default null
|
|
296
314
|
*/
|
|
297
315
|
topAxis: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
298
|
-
axisId: _propTypes.default.string
|
|
316
|
+
axisId: _propTypes.default.string,
|
|
299
317
|
classes: _propTypes.default.object,
|
|
300
318
|
disableLine: _propTypes.default.bool,
|
|
301
319
|
disableTicks: _propTypes.default.bool,
|
|
@@ -322,7 +340,15 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
322
340
|
x: _propTypes.default.number,
|
|
323
341
|
y: _propTypes.default.number
|
|
324
342
|
}),
|
|
343
|
+
/**
|
|
344
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
345
|
+
* @default undefined
|
|
346
|
+
*/
|
|
325
347
|
width: _propTypes.default.number,
|
|
348
|
+
/**
|
|
349
|
+
* The configuration of the x-axes.
|
|
350
|
+
* If not provided, a default axis config is used with id set to `DEFAULT_X_AXIS_KEY`.
|
|
351
|
+
*/
|
|
326
352
|
xAxis: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
327
353
|
axisId: _propTypes.default.string,
|
|
328
354
|
classes: _propTypes.default.object,
|
|
@@ -353,6 +379,10 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
353
379
|
tickSize: _propTypes.default.number,
|
|
354
380
|
valueFormatter: _propTypes.default.func
|
|
355
381
|
})),
|
|
382
|
+
/**
|
|
383
|
+
* The configuration of the y-axes.
|
|
384
|
+
* If not provided, a default axis config is used with id set to `DEFAULT_Y_AXIS_KEY`.
|
|
385
|
+
*/
|
|
356
386
|
yAxis: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
357
387
|
axisId: _propTypes.default.string,
|
|
358
388
|
classes: _propTypes.default.object,
|
package/PieChart/PiePlot.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PieArcPlotProps,
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
2
|
+
import { PieArcPlotProps, PieArcPlotSlotProps, PieArcPlotSlots } from './PieArcPlot';
|
|
3
|
+
import { PieArcLabelPlotSlots, PieArcLabelPlotSlotProps } from './PieArcLabelPlot';
|
|
4
|
+
export interface PiePlotSlots extends PieArcPlotSlots, PieArcLabelPlotSlots {
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface PiePlotSlotProps extends PieArcPlotSlotProps, PieArcLabelPlotSlotProps {
|
|
7
7
|
}
|
|
8
8
|
export interface PiePlotProps extends Pick<PieArcPlotProps, 'skipAnimation' | 'onClick'> {
|
|
9
9
|
/**
|
|
10
10
|
* Overridable component slots.
|
|
11
11
|
* @default {}
|
|
12
12
|
*/
|
|
13
|
-
slots?:
|
|
13
|
+
slots?: PiePlotSlots;
|
|
14
14
|
/**
|
|
15
15
|
* The props used for each component slot.
|
|
16
16
|
* @default {}
|
|
17
17
|
*/
|
|
18
|
-
slotProps?:
|
|
18
|
+
slotProps?: PiePlotSlotProps;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Demos:
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ChartContainerProps } from '../ChartContainer';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export interface ResponsiveChartContainerProps extends Omit<ChartContainerProps, 'width' | 'height'> {
|
|
4
|
+
/**
|
|
5
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
6
|
+
* @default undefined
|
|
7
|
+
*/
|
|
8
|
+
width?: number;
|
|
9
|
+
/**
|
|
10
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
11
|
+
* @default undefined
|
|
12
|
+
*/
|
|
13
|
+
height?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const ResponsiveChartContainer: React.ForwardRefExoticComponent<ResponsiveChartContainerProps & React.RefAttributes<unknown>>;
|