@mui/x-charts-pro 8.0.0-alpha.1 → 8.0.0-alpha.2
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.js +0 -4
- package/CHANGELOG.md +228 -7
- package/ChartContainerPro/ChartContainerPro.js +8 -16
- package/ChartContainerPro/useChartContainerProProps.js +0 -2
- package/Heatmap/Heatmap.js +0 -4
- package/Heatmap/HeatmapTooltip.js +2 -24
- package/Heatmap/heatmapClasses.js +2 -1
- package/LineChartPro/LineChartPro.js +0 -4
- package/ScatterChartPro/ScatterChartPro.js +0 -4
- package/context/CartesianProviderPro/createAxisFilterMapper.d.ts +2 -1
- package/context/ChartDataProviderPro/ChartDataProviderPro.d.ts +0 -3
- package/context/ChartDataProviderPro/ChartDataProviderPro.js +13 -262
- package/index.js +1 -1
- package/internals/utils/releaseInfo.js +2 -2
- package/modern/BarChartPro/BarChartPro.js +0 -4
- package/modern/ChartContainerPro/ChartContainerPro.js +8 -16
- package/modern/ChartContainerPro/useChartContainerProProps.js +0 -2
- package/modern/Heatmap/Heatmap.js +0 -4
- package/modern/Heatmap/HeatmapTooltip.js +2 -24
- package/modern/Heatmap/heatmapClasses.js +2 -1
- package/modern/LineChartPro/LineChartPro.js +0 -4
- package/modern/ScatterChartPro/ScatterChartPro.js +0 -4
- package/modern/context/ChartDataProviderPro/ChartDataProviderPro.js +13 -262
- package/modern/index.js +1 -1
- package/modern/internals/utils/releaseInfo.js +2 -2
- package/node/BarChartPro/BarChartPro.js +0 -4
- package/node/ChartContainerPro/ChartContainerPro.js +8 -16
- package/node/ChartContainerPro/useChartContainerProProps.js +0 -2
- package/node/Heatmap/Heatmap.js +0 -4
- package/node/Heatmap/HeatmapTooltip.js +2 -24
- package/node/Heatmap/heatmapClasses.js +5 -4
- package/node/LineChartPro/LineChartPro.js +0 -4
- package/node/ScatterChartPro/ScatterChartPro.js +0 -4
- package/node/context/ChartDataProviderPro/ChartDataProviderPro.js +13 -262
- package/node/index.js +1 -1
- package/node/internals/utils/releaseInfo.js +4 -3
- package/package.json +4 -4
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import
|
|
6
|
-
import { DrawingAreaProvider, InteractionProvider, PluginProvider, SeriesProvider, AnimationProvider, SvgRefProvider, SizeProvider } from '@mui/x-charts/internals';
|
|
5
|
+
import { DrawingAreaProvider, PluginProvider, SeriesProvider, AnimationProvider, SizeProvider, ChartProvider } from '@mui/x-charts/internals';
|
|
7
6
|
import { HighlightedProvider, ZAxisContextProvider } from '@mui/x-charts/context';
|
|
8
7
|
import { useLicenseVerifier } from '@mui/x-license/useLicenseVerifier';
|
|
9
8
|
import { getReleaseInfo } from "../../internals/utils/releaseInfo.js";
|
|
@@ -26,21 +25,19 @@ function ChartDataProviderPro(props) {
|
|
|
26
25
|
children
|
|
27
26
|
} = useChartContainerProProps(props);
|
|
28
27
|
useLicenseVerifier('x-charts-pro', releaseInfo);
|
|
29
|
-
return /*#__PURE__*/_jsx(
|
|
30
|
-
children: /*#__PURE__*/_jsx(
|
|
31
|
-
children: /*#__PURE__*/_jsx(
|
|
32
|
-
children: /*#__PURE__*/_jsx(
|
|
33
|
-
children: /*#__PURE__*/_jsx(
|
|
34
|
-
children: /*#__PURE__*/_jsx(
|
|
35
|
-
children: /*#__PURE__*/_jsx(
|
|
36
|
-
children: /*#__PURE__*/_jsx(
|
|
37
|
-
children: /*#__PURE__*/_jsx(
|
|
28
|
+
return /*#__PURE__*/_jsx(ChartProvider, {
|
|
29
|
+
children: /*#__PURE__*/_jsx(SizeProvider, _extends({}, sizeProviderProps, {
|
|
30
|
+
children: /*#__PURE__*/_jsx(DrawingAreaProvider, _extends({}, drawingAreaProviderProps, {
|
|
31
|
+
children: /*#__PURE__*/_jsx(AnimationProvider, _extends({}, animationProviderProps, {
|
|
32
|
+
children: /*#__PURE__*/_jsx(PluginProvider, _extends({}, pluginProviderProps, {
|
|
33
|
+
children: /*#__PURE__*/_jsx(ZoomProvider, _extends({}, zoomProviderProps, {
|
|
34
|
+
children: /*#__PURE__*/_jsx(SeriesProvider, _extends({}, seriesProviderProps, {
|
|
35
|
+
children: /*#__PURE__*/_jsx(CartesianProviderPro, _extends({}, cartesianProviderProps, {
|
|
36
|
+
children: /*#__PURE__*/_jsx(ZAxisContextProvider, _extends({}, zAxisContextProps, {
|
|
38
37
|
children: /*#__PURE__*/_jsx(HighlightedProvider, _extends({}, highlightedProviderProps, {
|
|
39
|
-
children:
|
|
40
|
-
children: children
|
|
41
|
-
})
|
|
38
|
+
children: children
|
|
42
39
|
}))
|
|
43
|
-
})
|
|
40
|
+
}))
|
|
44
41
|
}))
|
|
45
42
|
}))
|
|
46
43
|
}))
|
|
@@ -48,252 +45,6 @@ function ChartDataProviderPro(props) {
|
|
|
48
45
|
}))
|
|
49
46
|
}))
|
|
50
47
|
}))
|
|
51
|
-
})
|
|
48
|
+
});
|
|
52
49
|
}
|
|
53
|
-
process.env.NODE_ENV !== "production" ? ChartDataProviderPro.propTypes = {
|
|
54
|
-
// ----------------------------- Warning --------------------------------
|
|
55
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
56
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
57
|
-
// ----------------------------------------------------------------------
|
|
58
|
-
children: PropTypes.node,
|
|
59
|
-
className: PropTypes.string,
|
|
60
|
-
/**
|
|
61
|
-
* Color palette used to colorize multiple series.
|
|
62
|
-
* @default blueberryTwilightPalette
|
|
63
|
-
*/
|
|
64
|
-
colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
|
|
65
|
-
/**
|
|
66
|
-
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
67
|
-
*/
|
|
68
|
-
dataset: PropTypes.arrayOf(PropTypes.object),
|
|
69
|
-
desc: PropTypes.string,
|
|
70
|
-
/**
|
|
71
|
-
* If `true`, the charts will not listen to the mouse move event.
|
|
72
|
-
* It might break interactive features, but will improve performance.
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
disableAxisListener: PropTypes.bool,
|
|
76
|
-
/**
|
|
77
|
-
* The height of the chart in px.
|
|
78
|
-
*/
|
|
79
|
-
height: PropTypes.number.isRequired,
|
|
80
|
-
/**
|
|
81
|
-
* The item currently highlighted. Turns highlighting into a controlled prop.
|
|
82
|
-
*/
|
|
83
|
-
highlightedItem: PropTypes.shape({
|
|
84
|
-
dataIndex: PropTypes.number,
|
|
85
|
-
seriesId: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
86
|
-
}),
|
|
87
|
-
/**
|
|
88
|
-
* The margin between the SVG and the drawing area.
|
|
89
|
-
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
90
|
-
* Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
91
|
-
* @default object Depends on the charts type.
|
|
92
|
-
*/
|
|
93
|
-
margin: PropTypes.shape({
|
|
94
|
-
bottom: PropTypes.number,
|
|
95
|
-
left: PropTypes.number,
|
|
96
|
-
right: PropTypes.number,
|
|
97
|
-
top: PropTypes.number
|
|
98
|
-
}),
|
|
99
|
-
/**
|
|
100
|
-
* The callback fired when the highlighted item changes.
|
|
101
|
-
*
|
|
102
|
-
* @param {HighlightItemData | null} highlightedItem The newly highlighted item.
|
|
103
|
-
*/
|
|
104
|
-
onHighlightChange: PropTypes.func,
|
|
105
|
-
/**
|
|
106
|
-
* Callback fired when the zoom has changed.
|
|
107
|
-
*
|
|
108
|
-
* @param {ZoomData[]} zoomData Updated zoom data.
|
|
109
|
-
*/
|
|
110
|
-
onZoomChange: PropTypes.func,
|
|
111
|
-
/**
|
|
112
|
-
* An array of plugins defining how to preprocess data.
|
|
113
|
-
* If not provided, the container supports line, bar, scatter and pie charts.
|
|
114
|
-
*/
|
|
115
|
-
plugins: PropTypes.arrayOf(PropTypes.object),
|
|
116
|
-
/**
|
|
117
|
-
* The array of series to display.
|
|
118
|
-
* Each type of series has its own specificity.
|
|
119
|
-
* Please refer to the appropriate docs page to learn more about it.
|
|
120
|
-
*/
|
|
121
|
-
series: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
122
|
-
/**
|
|
123
|
-
* If `true`, animations are skipped.
|
|
124
|
-
* If unset or `false`, the animations respects the user's `prefers-reduced-motion` setting.
|
|
125
|
-
*/
|
|
126
|
-
skipAnimation: PropTypes.bool,
|
|
127
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
128
|
-
title: PropTypes.string,
|
|
129
|
-
viewBox: PropTypes.shape({
|
|
130
|
-
height: PropTypes.number,
|
|
131
|
-
width: PropTypes.number,
|
|
132
|
-
x: PropTypes.number,
|
|
133
|
-
y: PropTypes.number
|
|
134
|
-
}),
|
|
135
|
-
/**
|
|
136
|
-
* The width of the chart in px.
|
|
137
|
-
*/
|
|
138
|
-
width: PropTypes.number.isRequired,
|
|
139
|
-
/**
|
|
140
|
-
* The configuration of the x-axes.
|
|
141
|
-
* If not provided, a default axis config is used.
|
|
142
|
-
* An array of [[AxisConfig]] objects.
|
|
143
|
-
*/
|
|
144
|
-
xAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
145
|
-
classes: PropTypes.object,
|
|
146
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
147
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
148
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
149
|
-
unknownColor: PropTypes.string,
|
|
150
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
151
|
-
}), PropTypes.shape({
|
|
152
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
153
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
154
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
155
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
156
|
-
}), PropTypes.shape({
|
|
157
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
158
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
159
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
160
|
-
})]),
|
|
161
|
-
data: PropTypes.array,
|
|
162
|
-
dataKey: PropTypes.string,
|
|
163
|
-
disableLine: PropTypes.bool,
|
|
164
|
-
disableTicks: PropTypes.bool,
|
|
165
|
-
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
166
|
-
fill: PropTypes.string,
|
|
167
|
-
hideTooltip: PropTypes.bool,
|
|
168
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
169
|
-
label: PropTypes.string,
|
|
170
|
-
labelFontSize: PropTypes.number,
|
|
171
|
-
labelStyle: PropTypes.object,
|
|
172
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
173
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
174
|
-
position: PropTypes.oneOf(['bottom', 'top']),
|
|
175
|
-
reverse: PropTypes.bool,
|
|
176
|
-
scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
|
|
177
|
-
slotProps: PropTypes.object,
|
|
178
|
-
slots: PropTypes.object,
|
|
179
|
-
stroke: PropTypes.string,
|
|
180
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
181
|
-
tickFontSize: PropTypes.number,
|
|
182
|
-
tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
|
|
183
|
-
tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
|
|
184
|
-
tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
|
|
185
|
-
tickLabelStyle: PropTypes.object,
|
|
186
|
-
tickMaxStep: PropTypes.number,
|
|
187
|
-
tickMinStep: PropTypes.number,
|
|
188
|
-
tickNumber: PropTypes.number,
|
|
189
|
-
tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
|
|
190
|
-
tickSize: PropTypes.number,
|
|
191
|
-
valueFormatter: PropTypes.func,
|
|
192
|
-
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
193
|
-
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
194
|
-
maxEnd: PropTypes.number,
|
|
195
|
-
maxSpan: PropTypes.number,
|
|
196
|
-
minSpan: PropTypes.number,
|
|
197
|
-
minStart: PropTypes.number,
|
|
198
|
-
panning: PropTypes.bool,
|
|
199
|
-
step: PropTypes.number
|
|
200
|
-
}), PropTypes.bool])
|
|
201
|
-
})),
|
|
202
|
-
/**
|
|
203
|
-
* The configuration of the y-axes.
|
|
204
|
-
* If not provided, a default axis config is used.
|
|
205
|
-
* An array of [[AxisConfig]] objects.
|
|
206
|
-
*/
|
|
207
|
-
yAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
208
|
-
classes: PropTypes.object,
|
|
209
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
210
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
211
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
212
|
-
unknownColor: PropTypes.string,
|
|
213
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
214
|
-
}), PropTypes.shape({
|
|
215
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
216
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
217
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
218
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
219
|
-
}), PropTypes.shape({
|
|
220
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
221
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
222
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
223
|
-
})]),
|
|
224
|
-
data: PropTypes.array,
|
|
225
|
-
dataKey: PropTypes.string,
|
|
226
|
-
disableLine: PropTypes.bool,
|
|
227
|
-
disableTicks: PropTypes.bool,
|
|
228
|
-
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
229
|
-
fill: PropTypes.string,
|
|
230
|
-
hideTooltip: PropTypes.bool,
|
|
231
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
232
|
-
label: PropTypes.string,
|
|
233
|
-
labelFontSize: PropTypes.number,
|
|
234
|
-
labelStyle: PropTypes.object,
|
|
235
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
236
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
237
|
-
position: PropTypes.oneOf(['left', 'right']),
|
|
238
|
-
reverse: PropTypes.bool,
|
|
239
|
-
scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
|
|
240
|
-
slotProps: PropTypes.object,
|
|
241
|
-
slots: PropTypes.object,
|
|
242
|
-
stroke: PropTypes.string,
|
|
243
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
244
|
-
tickFontSize: PropTypes.number,
|
|
245
|
-
tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
|
|
246
|
-
tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
|
|
247
|
-
tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
|
|
248
|
-
tickLabelStyle: PropTypes.object,
|
|
249
|
-
tickMaxStep: PropTypes.number,
|
|
250
|
-
tickMinStep: PropTypes.number,
|
|
251
|
-
tickNumber: PropTypes.number,
|
|
252
|
-
tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
|
|
253
|
-
tickSize: PropTypes.number,
|
|
254
|
-
valueFormatter: PropTypes.func,
|
|
255
|
-
zoom: PropTypes.oneOfType([PropTypes.shape({
|
|
256
|
-
filterMode: PropTypes.oneOf(['discard', 'keep']),
|
|
257
|
-
maxEnd: PropTypes.number,
|
|
258
|
-
maxSpan: PropTypes.number,
|
|
259
|
-
minSpan: PropTypes.number,
|
|
260
|
-
minStart: PropTypes.number,
|
|
261
|
-
panning: PropTypes.bool,
|
|
262
|
-
step: PropTypes.number
|
|
263
|
-
}), PropTypes.bool])
|
|
264
|
-
})),
|
|
265
|
-
/**
|
|
266
|
-
* The configuration of the z-axes.
|
|
267
|
-
*/
|
|
268
|
-
zAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
269
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
270
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
271
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
272
|
-
unknownColor: PropTypes.string,
|
|
273
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
274
|
-
}), PropTypes.shape({
|
|
275
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
276
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
277
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
278
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
279
|
-
}), PropTypes.shape({
|
|
280
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
281
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
282
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
283
|
-
})]),
|
|
284
|
-
data: PropTypes.array,
|
|
285
|
-
dataKey: PropTypes.string,
|
|
286
|
-
id: PropTypes.string,
|
|
287
|
-
max: PropTypes.number,
|
|
288
|
-
min: PropTypes.number
|
|
289
|
-
})),
|
|
290
|
-
/**
|
|
291
|
-
* The list of zoom data related to each axis.
|
|
292
|
-
*/
|
|
293
|
-
zoom: PropTypes.arrayOf(PropTypes.shape({
|
|
294
|
-
axisId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
295
|
-
end: PropTypes.number.isRequired,
|
|
296
|
-
start: PropTypes.number.isRequired
|
|
297
|
-
}))
|
|
298
|
-
} : void 0;
|
|
299
50
|
export { ChartDataProviderPro };
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ponyfillGlobal from '@mui/utils/ponyfillGlobal';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczMjgzNDgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -314,7 +314,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
314
314
|
hideTooltip: _propTypes.default.bool,
|
|
315
315
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
316
316
|
label: _propTypes.default.string,
|
|
317
|
-
labelFontSize: _propTypes.default.number,
|
|
318
317
|
labelStyle: _propTypes.default.object,
|
|
319
318
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
320
319
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -325,7 +324,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
325
324
|
slots: _propTypes.default.object,
|
|
326
325
|
stroke: _propTypes.default.string,
|
|
327
326
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
328
|
-
tickFontSize: _propTypes.default.number,
|
|
329
327
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
330
328
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
331
329
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -377,7 +375,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
377
375
|
hideTooltip: _propTypes.default.bool,
|
|
378
376
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
379
377
|
label: _propTypes.default.string,
|
|
380
|
-
labelFontSize: _propTypes.default.number,
|
|
381
378
|
labelStyle: _propTypes.default.object,
|
|
382
379
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
383
380
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -388,7 +385,6 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
388
385
|
slots: _propTypes.default.object,
|
|
389
386
|
stroke: _propTypes.default.string,
|
|
390
387
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
391
|
-
tickFontSize: _propTypes.default.number,
|
|
392
388
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
393
389
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
394
390
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -11,8 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _Watermark = require("@mui/x-license/Watermark");
|
|
14
|
-
var
|
|
15
|
-
var _xCharts = require("@mui/x-charts");
|
|
14
|
+
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
16
15
|
var _releaseInfo = require("../internals/utils/releaseInfo");
|
|
17
16
|
var _ChartDataProviderPro = require("../context/ChartDataProviderPro");
|
|
18
17
|
var _useChartContainerProProps = require("./useChartContainerProProps");
|
|
@@ -22,18 +21,15 @@ const ChartContainerPro = exports.ChartContainerPro = /*#__PURE__*/React.forward
|
|
|
22
21
|
const {
|
|
23
22
|
chartDataProviderProProps,
|
|
24
23
|
children,
|
|
25
|
-
resizableContainerProps,
|
|
26
24
|
chartsSurfaceProps
|
|
27
25
|
} = (0, _useChartContainerProProps.useChartContainerProProps)(props, ref);
|
|
28
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
29
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
30
|
-
children:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})]
|
|
36
|
-
}))
|
|
26
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartDataProviderPro.ChartDataProviderPro, (0, _extends2.default)({}, chartDataProviderProProps, {
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
|
|
28
|
+
children: children
|
|
29
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Watermark.Watermark, {
|
|
30
|
+
packageName: "x-charts-pro",
|
|
31
|
+
releaseInfo: releaseInfo
|
|
32
|
+
})]
|
|
37
33
|
}));
|
|
38
34
|
});
|
|
39
35
|
process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
@@ -147,7 +143,6 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
147
143
|
hideTooltip: _propTypes.default.bool,
|
|
148
144
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
149
145
|
label: _propTypes.default.string,
|
|
150
|
-
labelFontSize: _propTypes.default.number,
|
|
151
146
|
labelStyle: _propTypes.default.object,
|
|
152
147
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
153
148
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -158,7 +153,6 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
158
153
|
slots: _propTypes.default.object,
|
|
159
154
|
stroke: _propTypes.default.string,
|
|
160
155
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
161
|
-
tickFontSize: _propTypes.default.number,
|
|
162
156
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
163
157
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
164
158
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -210,7 +204,6 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
210
204
|
hideTooltip: _propTypes.default.bool,
|
|
211
205
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
212
206
|
label: _propTypes.default.string,
|
|
213
|
-
labelFontSize: _propTypes.default.number,
|
|
214
207
|
labelStyle: _propTypes.default.object,
|
|
215
208
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
216
209
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -221,7 +214,6 @@ process.env.NODE_ENV !== "production" ? ChartContainerPro.propTypes = {
|
|
|
221
214
|
slots: _propTypes.default.object,
|
|
222
215
|
stroke: _propTypes.default.string,
|
|
223
216
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
224
|
-
tickFontSize: _propTypes.default.number,
|
|
225
217
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
226
218
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
227
219
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -23,12 +23,10 @@ const useChartContainerProProps = (props, ref) => {
|
|
|
23
23
|
const {
|
|
24
24
|
chartDataProviderProps,
|
|
25
25
|
chartsSurfaceProps,
|
|
26
|
-
resizableContainerProps,
|
|
27
26
|
children
|
|
28
27
|
} = (0, _internals.useChartContainerProps)(baseProps, ref);
|
|
29
28
|
return {
|
|
30
29
|
chartDataProviderProProps: (0, _extends2.default)({}, chartDataProviderProps, chartDataProviderProProps),
|
|
31
|
-
resizableContainerProps,
|
|
32
30
|
chartsSurfaceProps,
|
|
33
31
|
children
|
|
34
32
|
};
|
package/node/Heatmap/Heatmap.js
CHANGED
|
@@ -260,7 +260,6 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
260
260
|
hideTooltip: _propTypes.default.bool,
|
|
261
261
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
262
262
|
label: _propTypes.default.string,
|
|
263
|
-
labelFontSize: _propTypes.default.number,
|
|
264
263
|
labelStyle: _propTypes.default.object,
|
|
265
264
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
266
265
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -271,7 +270,6 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
271
270
|
slots: _propTypes.default.object,
|
|
272
271
|
stroke: _propTypes.default.string,
|
|
273
272
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
274
|
-
tickFontSize: _propTypes.default.number,
|
|
275
273
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
276
274
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
277
275
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -325,7 +323,6 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
325
323
|
hideTooltip: _propTypes.default.bool,
|
|
326
324
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
327
325
|
label: _propTypes.default.string,
|
|
328
|
-
labelFontSize: _propTypes.default.number,
|
|
329
326
|
labelStyle: _propTypes.default.object,
|
|
330
327
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
331
328
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -336,7 +333,6 @@ process.env.NODE_ENV !== "production" ? Heatmap.propTypes = {
|
|
|
336
333
|
slots: _propTypes.default.object,
|
|
337
334
|
stroke: _propTypes.default.string,
|
|
338
335
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
339
|
-
tickFontSize: _propTypes.default.number,
|
|
340
336
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
341
337
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
342
338
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -11,6 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
|
+
var _HTMLElementType = _interopRequireDefault(require("@mui/utils/HTMLElementType"));
|
|
14
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
16
|
var _ChartsTooltip = require("@mui/x-charts/ChartsTooltip");
|
|
16
17
|
var _hooks = require("@mui/x-charts/hooks");
|
|
@@ -34,10 +35,6 @@ const useUtilityClasses = ownerState => {
|
|
|
34
35
|
};
|
|
35
36
|
return (0, _composeClasses.default)(slots, _ChartsTooltip.getChartsTooltipUtilityClass, classes);
|
|
36
37
|
};
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @ignore - internal component.
|
|
40
|
-
*/
|
|
41
38
|
function DefaultHeatmapTooltipContent(props) {
|
|
42
39
|
const {
|
|
43
40
|
classes
|
|
@@ -139,26 +136,7 @@ process.env.NODE_ENV !== "production" ? HeatmapTooltip.propTypes = {
|
|
|
139
136
|
* It's used to set the position of the popper.
|
|
140
137
|
* The return value will passed as the reference object of the Popper instance.
|
|
141
138
|
*/
|
|
142
|
-
anchorEl: _propTypes.default
|
|
143
|
-
if (props[propName] == null) {
|
|
144
|
-
return new Error(`Prop '${propName}' is required but wasn't specified`);
|
|
145
|
-
}
|
|
146
|
-
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
147
|
-
return new Error(`Expected prop '${propName}' to be of type Element`);
|
|
148
|
-
}
|
|
149
|
-
return null;
|
|
150
|
-
}, _propTypes.default.func, _propTypes.default.shape({
|
|
151
|
-
contextElement: (props, propName) => {
|
|
152
|
-
if (props[propName] == null) {
|
|
153
|
-
return null;
|
|
154
|
-
}
|
|
155
|
-
if (typeof props[propName] !== 'object' || props[propName].nodeType !== 1) {
|
|
156
|
-
return new Error(`Expected prop '${propName}' to be of type Element`);
|
|
157
|
-
}
|
|
158
|
-
return null;
|
|
159
|
-
},
|
|
160
|
-
getBoundingClientRect: _propTypes.default.func.isRequired
|
|
161
|
-
})]),
|
|
139
|
+
anchorEl: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_HTMLElementType.default, _propTypes.default.object, _propTypes.default.func]),
|
|
162
140
|
/**
|
|
163
141
|
* Override or extend the styles applied to the component.
|
|
164
142
|
*/
|
|
@@ -7,15 +7,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.getHeatmapUtilityClass = getHeatmapUtilityClass;
|
|
8
8
|
exports.heatmapClasses = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
-
var
|
|
10
|
+
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
11
|
+
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
11
12
|
function getHeatmapUtilityClass(slot) {
|
|
12
13
|
// Those should be common to all charts
|
|
13
14
|
if (['highlighted', 'faded'].includes(slot)) {
|
|
14
|
-
return (0,
|
|
15
|
+
return (0, _generateUtilityClass.default)('Charts', slot);
|
|
15
16
|
}
|
|
16
|
-
return (0,
|
|
17
|
+
return (0, _generateUtilityClass.default)('MuiHeatmap', slot);
|
|
17
18
|
}
|
|
18
|
-
const heatmapClasses = exports.heatmapClasses = (0, _extends2.default)({}, (0,
|
|
19
|
+
const heatmapClasses = exports.heatmapClasses = (0, _extends2.default)({}, (0, _generateUtilityClasses.default)('MuiHeatmap', ['cell']), {
|
|
19
20
|
highlighted: 'Charts-highlighted',
|
|
20
21
|
faded: 'Charts-faded'
|
|
21
22
|
});
|
|
@@ -379,7 +379,6 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
379
379
|
hideTooltip: _propTypes.default.bool,
|
|
380
380
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
381
381
|
label: _propTypes.default.string,
|
|
382
|
-
labelFontSize: _propTypes.default.number,
|
|
383
382
|
labelStyle: _propTypes.default.object,
|
|
384
383
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
385
384
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -390,7 +389,6 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
390
389
|
slots: _propTypes.default.object,
|
|
391
390
|
stroke: _propTypes.default.string,
|
|
392
391
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
393
|
-
tickFontSize: _propTypes.default.number,
|
|
394
392
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
395
393
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
396
394
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -442,7 +440,6 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
442
440
|
hideTooltip: _propTypes.default.bool,
|
|
443
441
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
444
442
|
label: _propTypes.default.string,
|
|
445
|
-
labelFontSize: _propTypes.default.number,
|
|
446
443
|
labelStyle: _propTypes.default.object,
|
|
447
444
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
448
445
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -453,7 +450,6 @@ process.env.NODE_ENV !== "production" ? LineChartPro.propTypes = {
|
|
|
453
450
|
slots: _propTypes.default.object,
|
|
454
451
|
stroke: _propTypes.default.string,
|
|
455
452
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
456
|
-
tickFontSize: _propTypes.default.number,
|
|
457
453
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
458
454
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
459
455
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -252,7 +252,6 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
252
252
|
hideTooltip: _propTypes.default.bool,
|
|
253
253
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
254
254
|
label: _propTypes.default.string,
|
|
255
|
-
labelFontSize: _propTypes.default.number,
|
|
256
255
|
labelStyle: _propTypes.default.object,
|
|
257
256
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
258
257
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -263,7 +262,6 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
263
262
|
slots: _propTypes.default.object,
|
|
264
263
|
stroke: _propTypes.default.string,
|
|
265
264
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
266
|
-
tickFontSize: _propTypes.default.number,
|
|
267
265
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
268
266
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
269
267
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|
|
@@ -315,7 +313,6 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
315
313
|
hideTooltip: _propTypes.default.bool,
|
|
316
314
|
id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
317
315
|
label: _propTypes.default.string,
|
|
318
|
-
labelFontSize: _propTypes.default.number,
|
|
319
316
|
labelStyle: _propTypes.default.object,
|
|
320
317
|
max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
321
318
|
min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
|
|
@@ -326,7 +323,6 @@ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
|
|
|
326
323
|
slots: _propTypes.default.object,
|
|
327
324
|
stroke: _propTypes.default.string,
|
|
328
325
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
329
|
-
tickFontSize: _propTypes.default.number,
|
|
330
326
|
tickInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.array, _propTypes.default.func]),
|
|
331
327
|
tickLabelInterval: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.func]),
|
|
332
328
|
tickLabelPlacement: _propTypes.default.oneOf(['middle', 'tick']),
|