@mui/x-charts-pro 7.0.0-beta.6 → 8.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/BarChartPro/BarChartPro.d.ts +1 -1
- package/BarChartPro/BarChartPro.js +9 -29
- package/CHANGELOG.md +161 -48
- package/ChartContainerPro/ChartContainerPro.d.ts +1 -1
- package/ChartContainerPro/ChartContainerPro.js +28 -42
- package/ChartContainerPro/useChartContainerProProps.d.ts +42 -13
- package/ChartContainerPro/useChartContainerProProps.js +11 -27
- package/Heatmap/Heatmap.d.ts +5 -4
- package/Heatmap/Heatmap.js +4 -2
- package/LineChartPro/LineChartPro.d.ts +1 -1
- package/LineChartPro/LineChartPro.js +9 -29
- package/README.md +2 -2
- package/ScatterChartPro/ScatterChartPro.d.ts +1 -1
- package/ScatterChartPro/ScatterChartPro.js +9 -29
- package/context/ChartDataProviderPro/ChartDataProviderPro.d.ts +7 -0
- package/{modern/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js → context/ChartDataProviderPro/ChartDataProviderPro.js} +49 -31
- package/context/ChartDataProviderPro/index.d.ts +1 -0
- package/context/ChartDataProviderPro/index.js +1 -0
- package/context/ChartDataProviderPro/useChartDataProviderProProps.d.ts +16 -0
- package/context/ChartDataProviderPro/useChartDataProviderProProps.js +43 -0
- package/context/ZoomProvider/ZoomProvider.js +1 -0
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/internals/utils/releaseInfo.js +1 -1
- package/models/seriesType/heatmap.d.ts +2 -1
- package/modern/BarChartPro/BarChartPro.js +9 -29
- package/modern/ChartContainerPro/ChartContainerPro.js +28 -42
- package/modern/ChartContainerPro/useChartContainerProProps.js +11 -27
- package/modern/Heatmap/Heatmap.js +4 -2
- package/modern/LineChartPro/LineChartPro.js +9 -29
- package/modern/ScatterChartPro/ScatterChartPro.js +9 -29
- package/{ResponsiveChartContainerPro/ResponsiveChartContainerPro.js → modern/context/ChartDataProviderPro/ChartDataProviderPro.js} +49 -31
- package/modern/context/ChartDataProviderPro/index.js +1 -0
- package/modern/context/ChartDataProviderPro/useChartDataProviderProProps.js +43 -0
- package/modern/context/ZoomProvider/ZoomProvider.js +1 -0
- package/modern/index.js +1 -2
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/node/BarChartPro/BarChartPro.js +9 -29
- package/node/ChartContainerPro/ChartContainerPro.js +27 -41
- package/node/ChartContainerPro/useChartContainerProProps.js +11 -27
- package/node/Heatmap/Heatmap.js +4 -2
- package/node/LineChartPro/LineChartPro.js +9 -29
- package/node/ScatterChartPro/ScatterChartPro.js +9 -29
- package/node/{ResponsiveChartContainerPro/ResponsiveChartContainerPro.js → context/ChartDataProviderPro/ChartDataProviderPro.js} +48 -30
- package/node/context/ChartDataProviderPro/index.js +16 -0
- package/node/context/ChartDataProviderPro/useChartDataProviderProProps.js +50 -0
- package/node/context/ZoomProvider/ZoomProvider.js +1 -0
- package/node/index.js +1 -12
- package/node/internals/utils/releaseInfo.js +1 -1
- package/package.json +6 -6
- package/typeOverloads/modules.d.ts +1 -1
- package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.d.ts +0 -7
- package/ResponsiveChartContainerPro/index.d.ts +0 -1
- package/ResponsiveChartContainerPro/index.js +0 -1
- package/ResponsiveChartContainerPro/package.json +0 -6
- package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.d.ts +0 -42
- package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +0 -27
- package/modern/ResponsiveChartContainerPro/index.js +0 -1
- package/modern/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +0 -27
- package/node/ResponsiveChartContainerPro/index.js +0 -16
- package/node/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +0 -34
|
@@ -14,5 +14,5 @@ export interface BarChartProProps extends BarChartProps, ZoomProps {
|
|
|
14
14
|
*
|
|
15
15
|
* - [BarChart API](https://mui.com/x/api/charts/bar-chart/)
|
|
16
16
|
*/
|
|
17
|
-
declare const BarChartPro: React.ForwardRefExoticComponent<BarChartProProps & React.RefAttributes<
|
|
17
|
+
declare const BarChartPro: React.ForwardRefExoticComponent<BarChartProProps & React.RefAttributes<SVGSVGElement>>;
|
|
18
18
|
export { BarChartPro };
|
|
@@ -16,7 +16,7 @@ import { ChartsAxisHighlight } from '@mui/x-charts/ChartsAxisHighlight';
|
|
|
16
16
|
import { ChartsTooltip } from '@mui/x-charts/ChartsTooltip';
|
|
17
17
|
import { ChartsClipPath } from '@mui/x-charts/ChartsClipPath';
|
|
18
18
|
import { useBarChartProps } from '@mui/x-charts/internals';
|
|
19
|
-
import {
|
|
19
|
+
import { ChartContainerPro } from "../ChartContainerPro/index.js";
|
|
20
20
|
import { ZoomSetup } from "../context/ZoomProvider/ZoomSetup.js";
|
|
21
21
|
import { useZoom } from "../context/ZoomProvider/useZoom.js";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -102,14 +102,14 @@ const BarChartPro = /*#__PURE__*/React.forwardRef(function BarChartPro(inProps,
|
|
|
102
102
|
tooltipProps,
|
|
103
103
|
children
|
|
104
104
|
} = useBarChartProps(other);
|
|
105
|
-
return /*#__PURE__*/_jsxs(
|
|
105
|
+
return /*#__PURE__*/_jsxs(ChartContainerPro, _extends({
|
|
106
106
|
ref: ref
|
|
107
107
|
}, chartContainerProps, {
|
|
108
108
|
zoom: zoom,
|
|
109
109
|
onZoomChange: onZoomChange,
|
|
110
110
|
children: [props.onAxisClick && /*#__PURE__*/_jsx(ChartsOnAxisClickHandler, _extends({}, axisClickHandlerProps)), /*#__PURE__*/_jsx(ChartsGrid, _extends({}, gridProps)), /*#__PURE__*/_jsxs("g", _extends({}, clipPathGroupProps, {
|
|
111
111
|
children: [/*#__PURE__*/_jsx(BarChartPlotZoom, _extends({}, barPlotProps)), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps))]
|
|
112
|
-
})), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), !props.loading && /*#__PURE__*/_jsx(ChartsTooltip, _extends({}, tooltipProps)), /*#__PURE__*/_jsx(ChartsClipPath, _extends({}, clipPathProps)), /*#__PURE__*/_jsx(ZoomSetup, {}), children]
|
|
112
|
+
})), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), !props.hideLegend && /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), !props.loading && /*#__PURE__*/_jsx(ChartsTooltip, _extends({}, tooltipProps)), /*#__PURE__*/_jsx(ChartsClipPath, _extends({}, clipPathProps)), /*#__PURE__*/_jsx(ZoomSetup, {}), children]
|
|
113
113
|
}));
|
|
114
114
|
});
|
|
115
115
|
process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
@@ -174,6 +174,10 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
174
174
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
175
175
|
*/
|
|
176
176
|
height: PropTypes.number,
|
|
177
|
+
/**
|
|
178
|
+
* If `true`, the legend is not rendered.
|
|
179
|
+
*/
|
|
180
|
+
hideLegend: PropTypes.bool,
|
|
177
181
|
/**
|
|
178
182
|
* The item currently highlighted. Turns highlighting into a controlled prop.
|
|
179
183
|
*/
|
|
@@ -192,32 +196,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
192
196
|
* @default yAxisIds[0] The id of the first provided axis
|
|
193
197
|
*/
|
|
194
198
|
leftAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated Consider using `slotProps.legend` instead.
|
|
197
|
-
*/
|
|
198
|
-
legend: PropTypes.shape({
|
|
199
|
-
classes: PropTypes.object,
|
|
200
|
-
direction: PropTypes.oneOf(['column', 'row']),
|
|
201
|
-
hidden: PropTypes.bool,
|
|
202
|
-
itemGap: PropTypes.number,
|
|
203
|
-
itemMarkHeight: PropTypes.number,
|
|
204
|
-
itemMarkWidth: PropTypes.number,
|
|
205
|
-
labelStyle: PropTypes.object,
|
|
206
|
-
markGap: PropTypes.number,
|
|
207
|
-
onItemClick: PropTypes.func,
|
|
208
|
-
padding: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
209
|
-
bottom: PropTypes.number,
|
|
210
|
-
left: PropTypes.number,
|
|
211
|
-
right: PropTypes.number,
|
|
212
|
-
top: PropTypes.number
|
|
213
|
-
})]),
|
|
214
|
-
position: PropTypes.shape({
|
|
215
|
-
horizontal: PropTypes.oneOf(['left', 'middle', 'right']).isRequired,
|
|
216
|
-
vertical: PropTypes.oneOf(['bottom', 'middle', 'top']).isRequired
|
|
217
|
-
}),
|
|
218
|
-
slotProps: PropTypes.object,
|
|
219
|
-
slots: PropTypes.object
|
|
220
|
-
}),
|
|
221
199
|
/**
|
|
222
200
|
* If `true`, a loading overlay is displayed.
|
|
223
201
|
* @default false
|
|
@@ -352,6 +330,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
352
330
|
dataKey: PropTypes.string,
|
|
353
331
|
disableLine: PropTypes.bool,
|
|
354
332
|
disableTicks: PropTypes.bool,
|
|
333
|
+
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
355
334
|
fill: PropTypes.string,
|
|
356
335
|
hideTooltip: PropTypes.bool,
|
|
357
336
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
@@ -414,6 +393,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
414
393
|
dataKey: PropTypes.string,
|
|
415
394
|
disableLine: PropTypes.bool,
|
|
416
395
|
disableTicks: PropTypes.bool,
|
|
396
|
+
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
417
397
|
fill: PropTypes.string,
|
|
418
398
|
hideTooltip: PropTypes.bool,
|
|
419
399
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
package/CHANGELOG.md
CHANGED
|
@@ -1,87 +1,200 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
> For full v7 changelog, please refer to the [v.7x branch](https://github.com/mui/mui-x/blob/v7.x/CHANGELOG.md).
|
|
4
|
+
|
|
3
5
|
All notable changes to this project will be documented in this file.
|
|
4
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
7
|
|
|
6
|
-
##
|
|
8
|
+
## 8.0.0-alpha.0
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
<img width="100%" alt="MUI X v8 Alpha is live" src="https://github.com/user-attachments/assets/114cf615-b617-435f-8499-76ac3c26c57b">
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
_Nov 14, 2024_
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
We'd like to offer a big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
15
|
+
|
|
16
|
+
- 🔁 Support [automatic parents and children selection](https://next.mui.com/x/react-tree-view/rich-tree-view/selection/#automatic-parents-and-children-selection) for the Rich Tree View components.
|
|
17
|
+
- 🌍 Improve Greek (el-GR) locale on the Date and Time Pickers components
|
|
18
|
+
- 🌍 Improve Polish (pl-PL) locale on the Data Grid component
|
|
13
19
|
- 🐞 Bugfixes
|
|
14
20
|
- 📚 Documentation improvements
|
|
15
|
-
- 🌍 Improve Portuguese (pt-BR) locale on the Data Grid component
|
|
16
21
|
|
|
17
|
-
Special thanks go out to the community contributors who have helped make this release possible:
|
|
18
|
-
@
|
|
19
|
-
Following are all team members who have contributed to this release:
|
|
20
|
-
@cherniavskii, @flaviendelangle, @LukasTy, @MBilalShafi, @romgrk.
|
|
22
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
23
|
+
@belkocik, @GeorgiosDrivas, @k-rajat19, @kalyan90, @DungTiger, @fxnoob, @GuillaumeMeheut
|
|
24
|
+
Following are all team members who have contributed to this release:
|
|
25
|
+
@alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @samuelsycamore, @joserodolfofreitas.
|
|
21
26
|
|
|
22
27
|
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
23
28
|
|
|
24
29
|
### Data Grid
|
|
25
30
|
|
|
26
|
-
#### `@mui/x-data-grid@
|
|
31
|
+
#### `@mui/x-data-grid@8.0.0-alpha.0`
|
|
27
32
|
|
|
28
|
-
- [DataGrid] Fix
|
|
29
|
-
- [DataGrid] Fix
|
|
30
|
-
- [DataGrid]
|
|
31
|
-
- [DataGrid]
|
|
32
|
-
- [DataGrid]
|
|
33
|
-
- [DataGrid]
|
|
34
|
-
- [l10n] Improve
|
|
33
|
+
- [DataGrid] Fix grid overlay aligment with scroll for rtl (#15072) @kalyan90
|
|
34
|
+
- [DataGrid] Fix resizing right pinned column (#15107) @KenanYusuf
|
|
35
|
+
- [DataGrid] Pass the reason to the `onPaginationModelChange` callback (#13959) @DungTiger
|
|
36
|
+
- [DataGrid] Set default overlay height in flex parent layout (#15202) @cherniavskii
|
|
37
|
+
- [DataGrid] Refactor `baseMenuList` and `baseMenuItem` (#15049) @romgrk
|
|
38
|
+
- [DataGrid] Remove more material imports (#15063) @romgrk
|
|
39
|
+
- [l10n] Improve Polish (pl-PL) locale (#15227) @belkocik
|
|
35
40
|
|
|
36
|
-
#### `@mui/x-data-grid-pro@
|
|
41
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
42
|
|
|
38
|
-
Same changes as in `@mui/x-data-grid@
|
|
43
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.0`, plus:
|
|
39
44
|
|
|
40
|
-
- [DataGridPro] Fix column pinning layout (#
|
|
45
|
+
- [DataGridPro] Fix column pinning layout (#14966) @cherniavskii
|
|
41
46
|
|
|
42
|
-
#### `@mui/x-data-grid-premium@
|
|
47
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
43
48
|
|
|
44
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
49
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.0`, plus:
|
|
45
50
|
|
|
46
|
-
- [DataGridPremium] Server-side data source with row grouping (#
|
|
51
|
+
- [DataGridPremium] Server-side data source with row grouping (#13826) @MBilalShafi
|
|
47
52
|
|
|
48
53
|
### Date and Time Pickers
|
|
49
54
|
|
|
50
|
-
####
|
|
55
|
+
#### Breaking changes
|
|
56
|
+
|
|
57
|
+
- The default DOM structure of the field has changed [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
58
|
+
|
|
59
|
+
- Before version `v8.x`, the fields' DOM structure consisted of an `<input />`, which held the whole value for the component, but unfortunately presents a few limitations in terms of accessibility when managing multiple section values.
|
|
60
|
+
- Starting with version `v8.x`, all the field and picker components come with a new DOM structure that allows the field component to set aria attributes on individual sections, providing a far better experience with screen readers.
|
|
61
|
+
|
|
62
|
+
- Some translation keys no longer require `utils` and the date object as parameters, but only the formatted value as a string. The keys affected by this changes are: `clockLabelText`, `openDatePickerDialogue` and `openTimePickerDialogue` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-passing-utils-and-the-date-object-to-some-translation-keys).
|
|
63
|
+
|
|
64
|
+
- The following types are no longer exported by `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#removed-types).
|
|
65
|
+
|
|
66
|
+
- `UseDateFieldComponentProps`
|
|
67
|
+
- `UseTimeFieldComponentProps`
|
|
68
|
+
- `UseDateTimeFieldComponentProps`
|
|
69
|
+
- `BaseSingleInputFieldProps`
|
|
70
|
+
- `BaseMultiInputFieldProps`
|
|
71
|
+
- `BasePickersTextFieldProps`
|
|
72
|
+
|
|
73
|
+
- The `TDate` generic has been removed from all the types, interfaces, and variables of the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#remove-tdate-generic).
|
|
74
|
+
|
|
75
|
+
- Renamed `usePickersTranslations` and `usePickersContext` hooks to have a coherent `Picker` prefix instead of `Pickers` — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
|
|
76
|
+
|
|
77
|
+
- The `LicenseInfo` object is no longer exported from the `@mui/x-date-pickers-pro` package — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#stop-using-licenseinfo-from-mui-x-date-pickers-pro).
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.0`
|
|
51
80
|
|
|
52
|
-
- [
|
|
53
|
-
- [
|
|
81
|
+
- [fields] Enable the new field DOM structure by default (#14651) @flaviendelangle
|
|
82
|
+
- [fields] Remove `UseDateFieldComponentProps` and equivalent interfaces (#15053) @flaviendelangle
|
|
83
|
+
- [fields] Remove clear button from the tab sequence (#14616) @k-rajat19
|
|
84
|
+
- [l10n] Improve Greek (el-GR) locale (#15250) @GeorgiosDrivas
|
|
85
|
+
- [pickers] Clean definition of validation props (#15198) @flaviendelangle
|
|
86
|
+
- [pickers] Clean the new `ownerState` object (#15056) @flaviendelangle
|
|
87
|
+
- [pickers] Correctly type the `ownerState` of the `field` and `actionBar` slots when resolved in a picker component (#15162) @flaviendelangle
|
|
88
|
+
- [pickers] Fix `DateCalendar` timezone management (#12321) @LukasTy
|
|
89
|
+
- [pickers] Fix `DateTimeRangePicker` error when using format without time (#14917) @fxnoob
|
|
90
|
+
- [pickers] Fix `DigitalClock` time options on a `DST` switch day (#10793) @LukasTy
|
|
91
|
+
- [pickers] Remove `TDate` generics in favor of `PickerValidDate` direct usage (#15001) @flaviendelangle
|
|
92
|
+
- [pickers] Remove `utils` and `value` params from translations (#14986) @arthurbalduini
|
|
93
|
+
- [pickers] Remove plural in "Pickers" on recently introduced APIs (#15297) @flaviendelangle
|
|
94
|
+
- [pickers] Remove the re-export from `@mui/x-license` (#14487) @k-rajat19
|
|
95
|
+
- [pickers] Strictly type the props a picker passes to its field, and migrate all the custom field demos accordingly (#15197) @flaviendelangle
|
|
96
|
+
- [pickers] Unify JSDoc for all the `disabled` and `readOnly` props (#15304) @flaviendelangle
|
|
97
|
+
- [pickers] Use the new `ownerState` in `DateCalendar`, `DateRangeCalendar`, `MonthCalendar` and `YearCalendar` (#15171) @flaviendelangle
|
|
98
|
+
- [pickers] Use the new `ownerState` in `usePickersLayout` and `useXXXPicker` (#14994) @flaviendelangle
|
|
54
99
|
|
|
55
|
-
#### `@mui/x-date-pickers-pro@
|
|
100
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
56
101
|
|
|
57
|
-
Same changes as in `@mui/x-date-pickers@
|
|
102
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.0`.
|
|
58
103
|
|
|
59
104
|
### Charts
|
|
60
105
|
|
|
61
|
-
####
|
|
106
|
+
#### Breaking changes
|
|
107
|
+
|
|
108
|
+
- The `legend` prop got removed. To pass props to the legend, use `slotProps={{ legend: { ... } }}` instead. This can be automatically done with the codemod as long as the `legend` prop does not come from a destructured object — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#legend-props-propagation-✅).
|
|
109
|
+
|
|
110
|
+
- The `slots.legend` does not receive the `drawingArea` prop. You can still access your custom legend with the `useDrawingArea()` hook if your custom legend needs it.
|
|
111
|
+
|
|
112
|
+
- Removed or renamed multiple props from Series — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#series-properties-renaming).
|
|
62
113
|
|
|
63
|
-
-
|
|
114
|
+
- The `highlighted` and `faded` properties of highlightScope were deprecated in favor of `highlight` and `fade`.
|
|
115
|
+
The deprecated ones are now removed.
|
|
116
|
+
- The `xAxisKey`, `yAxisKey`, and `zAxisKey` properties got deprecated in favor of `xAxisId`, `yAxisId`, and `zAxisId`.
|
|
64
117
|
|
|
65
|
-
|
|
118
|
+
- The Pie Chart lost all props and renderer linked to axes because pie chart does not need cartesian axes. If you used it, you can still add them back with composition. Please consider opening an issue to share your use case with us — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#remove-pie-chart-axes).
|
|
66
119
|
|
|
67
|
-
|
|
120
|
+
#### `@mui/x-charts@8.0.0-alpha.0`
|
|
121
|
+
|
|
122
|
+
- [charts] Introduce `hideLegend` prop (#15277) @alexfauquette
|
|
123
|
+
- [charts] Filter items outside the drawing area for performance (#14281) @alexfauquette
|
|
124
|
+
- [charts] Fix log scale with `null` data (#15337) @alexfauquette
|
|
125
|
+
- [charts] Fix tooltip follow mouse (#15189) @alexfauquette
|
|
126
|
+
- [charts] Remove `xAxisKey`, `yAxisKey`, and `zAxisKey` series keys (#15192) @alexfauquette
|
|
127
|
+
- [charts] Remove axis from the pie chart (#15187) @alexfauquette
|
|
128
|
+
- [charts] Remove deprecated `legend` props (#15081) @alexfauquette
|
|
129
|
+
- [charts] Remove deprecated highlight properties (#15191) @alexfauquette
|
|
130
|
+
- [charts] Update Popper position outside of React (#15003) @alexfauquette
|
|
131
|
+
- [charts] Improve the performance of the `getSymbol` method (#15233) @romgrk
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
134
|
+
|
|
135
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
|
|
68
136
|
|
|
69
137
|
### Tree View
|
|
70
138
|
|
|
71
|
-
####
|
|
139
|
+
#### Breaking changes
|
|
72
140
|
|
|
73
|
-
-
|
|
141
|
+
- The `ContentComponent` or `ContentProps` props of the `<TreeItem />` component have been removed in favor of the new `slots`, `slotProps` props and of the `useTreeItem` hook — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#new-api-to-customize-the-tree-item).
|
|
142
|
+
|
|
143
|
+
- The `onClick` and `onMouseDown` callbacks of the Tree Item component are now passed to the root element instead of the content — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#behavior-change-on-the-onclick-and-onmousedown-props-of-treeitem).
|
|
144
|
+
|
|
145
|
+
- Rename the `<TreeItem2 />` component (and related utils) — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-rename-the-treeitem2-and-related-utils).
|
|
146
|
+
|
|
147
|
+
- The `<TreeView />` component has been renamed `<SimpleTreeView />` which has exactly the same API — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#✅-use-simple-tree-view-instead-of-tree-view).
|
|
148
|
+
|
|
149
|
+
- The indentation of nested Tree Items is now applied on the content of the element — [Learn more](https://next.mui.com/x/migration/migration-tree-view-v7/#apply-the-indentation-on-the-item-content-instead-of-its-parents-group).
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-tree-view@8.0.0-alpha.0`
|
|
152
|
+
|
|
153
|
+
- [TreeView] Always apply the indentation on the item content instead of its parent's group (#15089) @flaviendelangle
|
|
154
|
+
- [TreeView] Automatic parents and children selection (#14899) @flaviendelangle
|
|
155
|
+
- [TreeView] Remove deprecated `TreeView` component (#15093) @flaviendelangle
|
|
156
|
+
- [TreeView] Replace `<TreeItem />` with `<TreeItem2 />` and migrate all the components and utils (#14913) @flaviendelangle
|
|
74
157
|
|
|
75
158
|
### Docs
|
|
76
159
|
|
|
77
|
-
- [docs]
|
|
160
|
+
- [docs] Add docs for rounded symbol (#15324) @GuillaumeMeheut
|
|
161
|
+
- [docs] Add migration guide for the removal of `LicenseInfo` from `@mui/x-date-pickers-pro` (#15321) @flaviendelangle
|
|
162
|
+
- [docs] Add migration guide for the first breaking changes of charts (#15276) @alexfauquette
|
|
163
|
+
- [docs] Add `PickersPopper` component to the Date Picker customization playground (#15305) @LukasTy
|
|
164
|
+
- [docs] Add v8 to supported releases table (#15384) @joserodolfofreitas
|
|
165
|
+
- [docs] Apply the new DX to the Button Field demos (#14860) @flaviendelangle
|
|
166
|
+
- [docs] Apply the new DX to the `Autocomplete` Field demo (#15165) @flaviendelangle
|
|
167
|
+
- [docs] Cleanup the pickers migration guide (#15310) @flaviendelangle
|
|
168
|
+
- [docs] Copyedit the Charts Getting Started sequence (#14962) @samuelsycamore
|
|
169
|
+
- [docs] Create Pickers masked field recipe (#13515) @flaviendelangle
|
|
170
|
+
- [docs] Fix `applyDomain` docs for the charts (#15332) @JCQuintas
|
|
171
|
+
- [docs] Fix link to private notion page (#15396) @michelengelen
|
|
172
|
+
- [docs] Fix missing punctuation on descriptions (#15229) @oliviertassinari
|
|
173
|
+
- [docs] Fix peer dependency range (#15281) @oliviertassinari
|
|
174
|
+
- [docs] Fix small Tree View typo (#15390) @oliviertassinari
|
|
175
|
+
- [docs] Fix the `AdapterMomentHijri` doc section (#15312) @flaviendelangle
|
|
176
|
+
- [docs] Replace the Tree Item anatomy images (#15066) @noraleonte
|
|
177
|
+
- [docs] Start v8 migration guides (#15096) @MBilalShafi
|
|
178
|
+
- [docs] Subdivide and reorganize navigation bar (#15014) @samuelsycamore
|
|
179
|
+
- [docs] Use `PickersTextField` in the customization playground (#15288) @LukasTy
|
|
180
|
+
- [docs] Use `next` instead of `^8.0.0` in the migration guides (#15091) @flaviendelangle
|
|
78
181
|
|
|
79
182
|
### Core
|
|
80
183
|
|
|
81
|
-
- [core] Adjust cherry-pick
|
|
82
|
-
- [core]
|
|
83
|
-
- [core]
|
|
84
|
-
- [
|
|
184
|
+
- [core] Adjust the `cherry-pick` GitHub actions (#15099) @LukasTy
|
|
185
|
+
- [core] Add `()` at the name of function name in the doc (#15075) @oliviertassinari
|
|
186
|
+
- [core] Clarify release version bump strategy (#15219) @cherniavskii
|
|
187
|
+
- [core] Fix CodeSandbox and StackBlitz for next doc-infra sync @oliviertassinari
|
|
188
|
+
- [core] Fix Vale error on `master` @oliviertassinari
|
|
189
|
+
- [core] Fix changelog reference to VoiceOver @oliviertassinari
|
|
190
|
+
- [core] Fix `tools-public.mui.com` redirection @oliviertassinari
|
|
191
|
+
- [core] Fix webpack capitalization (#15353) @oliviertassinari
|
|
192
|
+
- [core] Move `helpers` to `@mui/x-internals` package (#15188) @LukasTy
|
|
193
|
+
- [code-infra] Set renovate to automerge devDependencies (#13463) @JCQuintas
|
|
194
|
+
- [infra] Reintroduce the cherry pick workflow (#15293) @michelengelen
|
|
195
|
+
- [core] Remove duplicate title header (#15389) @oliviertassinari
|
|
196
|
+
- [release] v8 preparation (#15054) @michelengelen
|
|
197
|
+
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
|
|
85
198
|
|
|
86
199
|
## 7.21.0
|
|
87
200
|
|
|
@@ -149,7 +262,7 @@ Same changes as in `@mui/x-charts@7.21.0`.
|
|
|
149
262
|
|
|
150
263
|
#### `@mui/x-tree-view@7.21.0`
|
|
151
264
|
|
|
152
|
-
- [TreeView] Fix `alpha` usage with CSS variables (#14969) @wangkailang
|
|
265
|
+
- [TreeView] Fix `alpha()` usage with CSS variables (#14969) @wangkailang
|
|
153
266
|
- [TreeView] Fix usage of the `aria-selected` attribute (#14991) @flaviendelangle
|
|
154
267
|
- [TreeView] Fix hydration error (#15002) @flaviendelangle
|
|
155
268
|
|
|
@@ -369,7 +482,7 @@ Same changes as in `@mui/x-charts@7.19.0`.
|
|
|
369
482
|
- [code-infra] Remove custom playwright installation steps (#14728) @Janpot
|
|
370
483
|
- [code-infra] Replace or remove all instances of `e` identifier (#14724) @samuelsycamore
|
|
371
484
|
- [infra] Adds community contribution section to the changelog script (#14799) @michelengelen
|
|
372
|
-
- [infra] Fix line break in Stack
|
|
485
|
+
- [infra] Fix line break in Stack Overflow message @oliviertassinari
|
|
373
486
|
- [test] Fix `Escape` event firing event (#14797) @oliviertassinari
|
|
374
487
|
|
|
375
488
|
## 7.18.0
|
|
@@ -461,7 +574,7 @@ Same changes as in `@mui/x-charts@7.18.0`.
|
|
|
461
574
|
- [core] Fix 301 link to Next.js and git diff @oliviertassinari
|
|
462
575
|
- [core] Fix failing CI on `master` (#14644) @cherniavskii
|
|
463
576
|
- [core] Fix `package.json` repository rule @oliviertassinari
|
|
464
|
-
- [core] MUI
|
|
577
|
+
- [core] MUI X repository moved to a new location @oliviertassinari
|
|
465
578
|
- [docs-infra] Strengthen CSP (#14581) @oliviertassinari
|
|
466
579
|
- [license] Finish renaming of LicensingModel (#14615) @oliviertassinari
|
|
467
580
|
|
|
@@ -485,7 +598,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
485
598
|
|
|
486
599
|
- [DataGrid] Add "does not equal" and "does not contain" filter operators (#14489) @KenanYusuf
|
|
487
600
|
- [DataGrid] Add demo to the "Custom columns" page that does not use generator (#13695) @arminmeh
|
|
488
|
-
- [DataGrid] Fix
|
|
601
|
+
- [DataGrid] Fix VoiceOver reading the column name twice (#14482) @arminmeh
|
|
489
602
|
- [DataGrid] Fix bug in CRUD example (#14513) @michelengelen
|
|
490
603
|
- [DataGrid] Fix failing jsdom tests caused by `:has()` selectors (#14559) @KenanYusuf
|
|
491
604
|
- [DataGrid] Refactor string operator filter functions (#14564) @KenanYusuf
|
|
@@ -941,10 +1054,9 @@ No changes since `@mui/x-tree-view@7.12.0`.
|
|
|
941
1054
|
|
|
942
1055
|
### Docs
|
|
943
1056
|
|
|
944
|
-
- [docs] Add a warning to promote the usage of `updateRows` (#14027) @MBilalShafi
|
|
1057
|
+
- [docs] Add a warning to promote the usage of `updateRows()` (#14027) @MBilalShafi
|
|
945
1058
|
- [docs] Disable ad in `Rich Tree View-Ordering` page (#14123) @oliviertassinari
|
|
946
1059
|
- [docs] Redesign Date and Time Pickers overview page (#13241) @noraleonte
|
|
947
|
-
|
|
948
1060
|
- [CHANGELOG] Polish details @oliviertassinari
|
|
949
1061
|
- [code-infra] Use concurrency 1 in CircleCI (#14110) @JCQuintas
|
|
950
1062
|
- [infra] Re-added the removal of `Latest Version` section (#14132) @michelengelen
|
|
@@ -1305,7 +1417,7 @@ _Jul 5, 2024_
|
|
|
1305
1417
|
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
1306
1418
|
|
|
1307
1419
|
- 🔄 Add loading overlay variants, including a skeleton loader option to the Data Grid component. See [Loading overlay docs](https://mui.com/x/react-data-grid/overlays/#loading-overlay) for more details.
|
|
1308
|
-
- 🌳 Add `selectItem` and `getItemDOMElement` methods to the TreeView component public API
|
|
1420
|
+
- 🌳 Add `selectItem()` and `getItemDOMElement()` methods to the TreeView component public API
|
|
1309
1421
|
- ⛏️ Make the `usePickersTranslations` hook public in the pickers component
|
|
1310
1422
|
- 🐞 Bugfixes
|
|
1311
1423
|
|
|
@@ -1350,7 +1462,7 @@ Same changes as in `@mui/x-date-pickers@7.9.0`.
|
|
|
1350
1462
|
|
|
1351
1463
|
#### `@mui/x-tree-view@7.9.0`
|
|
1352
1464
|
|
|
1353
|
-
- [TreeView] Add `selectItem` and `getItemDOMElement` methods to the public API (#13485) @flaviendelangle
|
|
1465
|
+
- [TreeView] Add `selectItem()` and `getItemDOMElement()` methods to the public API (#13485) @flaviendelangle
|
|
1354
1466
|
|
|
1355
1467
|
### Docs
|
|
1356
1468
|
|
|
@@ -2982,7 +3094,8 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
2982
3094
|
```
|
|
2983
3095
|
|
|
2984
3096
|
- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
2985
|
-
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3097
|
+
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
3098
|
+
Learn more about this new accessible DOM structure in the [v8 migration guide](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
2986
3099
|
|
|
2987
3100
|
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
|
|
2988
3101
|
|
|
@@ -3,5 +3,5 @@ import { ChartContainerProps } from '@mui/x-charts/ChartContainer';
|
|
|
3
3
|
import { ZoomProps } from '../context/ZoomProvider';
|
|
4
4
|
export interface ChartContainerProProps extends ChartContainerProps, ZoomProps {
|
|
5
5
|
}
|
|
6
|
-
declare const ChartContainerPro: React.ForwardRefExoticComponent<ChartContainerProProps & React.RefAttributes<
|
|
6
|
+
declare const ChartContainerPro: React.ForwardRefExoticComponent<ChartContainerProProps & React.RefAttributes<SVGSVGElement>>;
|
|
7
7
|
export { ChartContainerPro };
|
|
@@ -3,50 +3,24 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { ChartsAxesGradients, DrawingProvider, InteractionProvider, PluginProvider, SeriesProvider, AnimationProvider } from '@mui/x-charts/internals';
|
|
9
|
-
import { useLicenseVerifier } from '@mui/x-license/useLicenseVerifier';
|
|
6
|
+
import { Watermark } from '@mui/x-license/Watermark';
|
|
7
|
+
import { ResizableContainer } from '@mui/x-charts/internals';
|
|
10
8
|
import { getReleaseInfo } from "../internals/utils/releaseInfo.js";
|
|
11
|
-
import {
|
|
12
|
-
import { ZoomProvider } from "../context/ZoomProvider/index.js";
|
|
9
|
+
import { ChartDataProviderPro } from "../context/ChartDataProviderPro/index.js";
|
|
13
10
|
import { useChartContainerProProps } from "./useChartContainerProProps.js";
|
|
14
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
12
|
const releaseInfo = getReleaseInfo();
|
|
16
|
-
const ChartContainerPro = /*#__PURE__*/React.forwardRef(function
|
|
13
|
+
const ChartContainerPro = /*#__PURE__*/React.forwardRef(function ChartContainerPro(props, ref) {
|
|
17
14
|
const {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
zAxisContextProps,
|
|
22
|
-
highlightedProviderProps,
|
|
23
|
-
cartesianProviderProps,
|
|
24
|
-
chartsSurfaceProps,
|
|
25
|
-
pluginProviderProps,
|
|
26
|
-
animationProviderProps,
|
|
27
|
-
children
|
|
15
|
+
chartDataProviderProProps,
|
|
16
|
+
resizableChartContainerProps,
|
|
17
|
+
hasIntrinsicSize
|
|
28
18
|
} = useChartContainerProProps(props, ref);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
children: /*#__PURE__*/_jsx(SeriesProvider, _extends({}, seriesProviderProps, {
|
|
35
|
-
children: /*#__PURE__*/_jsx(CartesianProviderPro, _extends({}, cartesianProviderProps, {
|
|
36
|
-
children: /*#__PURE__*/_jsx(ZAxisContextProvider, _extends({}, zAxisContextProps, {
|
|
37
|
-
children: /*#__PURE__*/_jsx(InteractionProvider, {
|
|
38
|
-
children: /*#__PURE__*/_jsx(HighlightedProvider, _extends({}, highlightedProviderProps, {
|
|
39
|
-
children: /*#__PURE__*/_jsxs(ChartsSurface, _extends({}, chartsSurfaceProps, {
|
|
40
|
-
children: [/*#__PURE__*/_jsx(ChartsAxesGradients, {}), children]
|
|
41
|
-
}))
|
|
42
|
-
}))
|
|
43
|
-
})
|
|
44
|
-
}))
|
|
45
|
-
}))
|
|
46
|
-
}))
|
|
47
|
-
}))
|
|
48
|
-
}))
|
|
49
|
-
}))
|
|
19
|
+
return /*#__PURE__*/_jsxs(ResizableContainer, _extends({}, resizableChartContainerProps, {
|
|
20
|
+
children: [hasIntrinsicSize ? /*#__PURE__*/_jsx(ChartDataProviderPro, _extends({}, chartDataProviderProProps)) : null, /*#__PURE__*/_jsx(Watermark, {
|
|
21
|
+
packageName: "x-charts-pro",
|
|
22
|
+
releaseInfo: releaseInfo
|
|
23
|
+
})]
|
|
50
24
|
}));
|
|
51
25
|
});
|
|
52
26
|
process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
@@ -73,9 +47,9 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
73
47
|
*/
|
|
74
48
|
disableAxisListener: PropTypes.bool,
|
|
75
49
|
/**
|
|
76
|
-
* The height of the chart in px.
|
|
50
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
77
51
|
*/
|
|
78
|
-
height: PropTypes.number
|
|
52
|
+
height: PropTypes.number,
|
|
79
53
|
/**
|
|
80
54
|
* The item currently highlighted. Turns highlighting into a controlled prop.
|
|
81
55
|
*/
|
|
@@ -112,6 +86,16 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
112
86
|
* If not provided, the container supports line, bar, scatter and pie charts.
|
|
113
87
|
*/
|
|
114
88
|
plugins: PropTypes.arrayOf(PropTypes.object),
|
|
89
|
+
/**
|
|
90
|
+
* The chart will try to wait for the parent container to resolve its size
|
|
91
|
+
* before it renders for the first time.
|
|
92
|
+
*
|
|
93
|
+
* This can be useful in some scenarios where the chart appear to grow after
|
|
94
|
+
* the first render, like when used inside a grid.
|
|
95
|
+
*
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
resolveSizeBeforeRender: PropTypes.bool,
|
|
115
99
|
/**
|
|
116
100
|
* The array of series to display.
|
|
117
101
|
* Each type of series has its own specificity.
|
|
@@ -132,9 +116,9 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
132
116
|
y: PropTypes.number
|
|
133
117
|
}),
|
|
134
118
|
/**
|
|
135
|
-
* The width of the chart in px.
|
|
119
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
136
120
|
*/
|
|
137
|
-
width: PropTypes.number
|
|
121
|
+
width: PropTypes.number,
|
|
138
122
|
/**
|
|
139
123
|
* The configuration of the x-axes.
|
|
140
124
|
* If not provided, a default axis config is used.
|
|
@@ -161,6 +145,7 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
161
145
|
dataKey: PropTypes.string,
|
|
162
146
|
disableLine: PropTypes.bool,
|
|
163
147
|
disableTicks: PropTypes.bool,
|
|
148
|
+
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
164
149
|
fill: PropTypes.string,
|
|
165
150
|
hideTooltip: PropTypes.bool,
|
|
166
151
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
@@ -223,6 +208,7 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
223
208
|
dataKey: PropTypes.string,
|
|
224
209
|
disableLine: PropTypes.bool,
|
|
225
210
|
disableTicks: PropTypes.bool,
|
|
211
|
+
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
226
212
|
fill: PropTypes.string,
|
|
227
213
|
hideTooltip: PropTypes.bool,
|
|
228
214
|
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
@@ -1,16 +1,45 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UseChartContainerPropsReturnValue } from '@mui/x-charts/internals';
|
|
2
|
+
import type { ChartDataProviderProProps } from '../context/ChartDataProviderPro';
|
|
2
3
|
import type { ChartContainerProProps } from './ChartContainerPro';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
export type UseChartContainerProPropsReturnValue = Omit<UseChartContainerPropsReturnValue, 'chartDataProviderProps'> & {
|
|
5
|
+
chartDataProviderProProps: ChartDataProviderProProps;
|
|
6
|
+
};
|
|
7
|
+
export declare const useChartContainerProProps: (props: ChartContainerProProps, ref: React.Ref<SVGSVGElement>) => {
|
|
8
|
+
chartDataProviderProProps: {
|
|
9
|
+
zoom?: import("..").ZoomData[] | undefined;
|
|
10
|
+
onZoomChange?: ((zoomData: import("..").ZoomData[] | ((zoomData: import("..").ZoomData[]) => import("..").ZoomData[])) => void) | undefined;
|
|
11
|
+
height: number;
|
|
12
|
+
width: number;
|
|
13
|
+
margin?: Partial<import("@mui/x-charts").CardinalDirections<number>> | undefined;
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
desc?: string | undefined;
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
viewBox?: {
|
|
18
|
+
x?: number;
|
|
19
|
+
y?: number;
|
|
20
|
+
width?: number;
|
|
21
|
+
height?: number;
|
|
22
|
+
} | undefined;
|
|
23
|
+
plugins?: import("@mui/x-charts/internals").ChartsPlugin<import("@mui/x-charts/internals").ChartSeriesType>[] | undefined;
|
|
24
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
+
series: (import("@mui/x-charts").ScatterSeriesType | import("@mui/x-charts").LineSeriesType | import("@mui/x-charts").BarSeriesType | import("@mui/x-charts").PieSeriesType<import("@mui/x-internals/types").MakeOptional<import("@mui/x-charts").PieValueType, "id">> | import("../models").HeatmapSeriesType)[];
|
|
26
|
+
onHighlightChange?: ((highlightedItem: import("@mui/x-charts").HighlightItemData | null) => void) | undefined;
|
|
27
|
+
skipAnimation?: boolean | undefined;
|
|
28
|
+
zAxis?: import("@mui/x-internals/types").MakeOptional<import("@mui/x-charts/internals").ZAxisConfig, "id">[] | undefined;
|
|
29
|
+
dataset?: import("@mui/x-charts/internals").DatasetType | undefined;
|
|
30
|
+
colors?: import("@mui/x-charts").ChartsColorPalette | undefined;
|
|
31
|
+
disableAxisListener?: boolean | undefined;
|
|
32
|
+
highlightedItem?: (import("@mui/x-charts").HighlightItemData | null) | undefined;
|
|
33
|
+
xAxis?: import("@mui/x-internals/types").MakeOptional<import("@mui/x-charts").AxisConfig<import("@mui/x-charts").ScaleName, any, import("@mui/x-charts").ChartsXAxisProps>, "id">[];
|
|
34
|
+
yAxis?: import("@mui/x-internals/types").MakeOptional<import("@mui/x-charts").AxisConfig<import("@mui/x-charts").ScaleName, any, import("@mui/x-charts").ChartsYAxisProps>, "id">[];
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
};
|
|
37
|
+
resizableChartContainerProps: {
|
|
38
|
+
ownerState: {
|
|
39
|
+
width: import("@mui/x-charts").ChartContainerProps["width"];
|
|
40
|
+
height: import("@mui/x-charts").ChartContainerProps["height"];
|
|
41
|
+
};
|
|
42
|
+
ref: React.Ref<HTMLDivElement>;
|
|
14
43
|
};
|
|
15
|
-
|
|
44
|
+
hasIntrinsicSize: boolean;
|
|
16
45
|
};
|