@mui/x-charts-pro 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.
Files changed (190) hide show
  1. package/BarChartPro/BarChartPro.d.ts +18 -0
  2. package/BarChartPro/BarChartPro.js +417 -0
  3. package/BarChartPro/index.d.ts +1 -0
  4. package/BarChartPro/index.js +1 -0
  5. package/BarChartPro/package.json +6 -0
  6. package/CHANGELOG.md +4404 -0
  7. package/ChartContainerPro/ChartContainerPro.d.ts +7 -0
  8. package/ChartContainerPro/ChartContainerPro.js +282 -0
  9. package/ChartContainerPro/index.d.ts +1 -0
  10. package/ChartContainerPro/index.js +1 -0
  11. package/ChartContainerPro/package.json +6 -0
  12. package/ChartContainerPro/useChartContainerProProps.d.ts +15 -0
  13. package/ChartContainerPro/useChartContainerProProps.js +39 -0
  14. package/Heatmap/DefaultHeatmapTooltip.d.ts +7 -0
  15. package/Heatmap/DefaultHeatmapTooltip.js +97 -0
  16. package/Heatmap/Heatmap.d.ts +49 -0
  17. package/Heatmap/Heatmap.js +387 -0
  18. package/Heatmap/HeatmapItem.d.ts +49 -0
  19. package/Heatmap/HeatmapItem.js +106 -0
  20. package/Heatmap/HeatmapPlot.d.ts +9 -0
  21. package/Heatmap/HeatmapPlot.js +57 -0
  22. package/Heatmap/extremums.d.ts +2 -0
  23. package/Heatmap/extremums.js +8 -0
  24. package/Heatmap/formatter.d.ts +3 -0
  25. package/Heatmap/formatter.js +20 -0
  26. package/Heatmap/getColor.d.ts +3 -0
  27. package/Heatmap/getColor.js +15 -0
  28. package/Heatmap/heatmapClasses.d.ts +11 -0
  29. package/Heatmap/heatmapClasses.js +13 -0
  30. package/Heatmap/index.d.ts +4 -0
  31. package/Heatmap/index.js +4 -0
  32. package/Heatmap/package.json +6 -0
  33. package/Heatmap/plugin.d.ts +2 -0
  34. package/Heatmap/plugin.js +10 -0
  35. package/LICENSE +11 -0
  36. package/LineChartPro/LineChartPro.d.ts +17 -0
  37. package/LineChartPro/LineChartPro.js +473 -0
  38. package/LineChartPro/index.d.ts +1 -0
  39. package/LineChartPro/index.js +1 -0
  40. package/LineChartPro/package.json +6 -0
  41. package/README.md +26 -0
  42. package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.d.ts +7 -0
  43. package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +259 -0
  44. package/ResponsiveChartContainerPro/index.d.ts +1 -0
  45. package/ResponsiveChartContainerPro/index.js +1 -0
  46. package/ResponsiveChartContainerPro/package.json +6 -0
  47. package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.d.ts +41 -0
  48. package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +25 -0
  49. package/ScatterChartPro/ScatterChartPro.d.ts +17 -0
  50. package/ScatterChartPro/ScatterChartPro.js +388 -0
  51. package/ScatterChartPro/index.d.ts +1 -0
  52. package/ScatterChartPro/index.js +1 -0
  53. package/ScatterChartPro/package.json +6 -0
  54. package/context/CartesianProviderPro/CartesianProviderPro.d.ts +6 -0
  55. package/context/CartesianProviderPro/CartesianProviderPro.js +54 -0
  56. package/context/CartesianProviderPro/index.d.ts +1 -0
  57. package/context/CartesianProviderPro/index.js +1 -0
  58. package/context/ZoomProvider/Zoom.types.d.ts +134 -0
  59. package/context/ZoomProvider/Zoom.types.js +1 -0
  60. package/context/ZoomProvider/ZoomContext.d.ts +4 -0
  61. package/context/ZoomProvider/ZoomContext.js +16 -0
  62. package/context/ZoomProvider/ZoomProvider.d.ts +3 -0
  63. package/context/ZoomProvider/ZoomProvider.js +53 -0
  64. package/context/ZoomProvider/ZoomSetup.d.ts +9 -0
  65. package/context/ZoomProvider/ZoomSetup.js +16 -0
  66. package/context/ZoomProvider/defaultizeZoom.d.ts +2 -0
  67. package/context/ZoomProvider/defaultizeZoom.js +31 -0
  68. package/context/ZoomProvider/index.d.ts +3 -0
  69. package/context/ZoomProvider/index.js +3 -0
  70. package/context/ZoomProvider/initializeZoomData.d.ts +6 -0
  71. package/context/ZoomProvider/initializeZoomData.js +13 -0
  72. package/context/ZoomProvider/useSetupPan.d.ts +1 -0
  73. package/context/ZoomProvider/useSetupPan.js +104 -0
  74. package/context/ZoomProvider/useSetupZoom.d.ts +1 -0
  75. package/context/ZoomProvider/useSetupZoom.js +272 -0
  76. package/context/ZoomProvider/useZoom.d.ts +7 -0
  77. package/context/ZoomProvider/useZoom.js +17 -0
  78. package/context/index.d.ts +3 -0
  79. package/context/index.js +5 -0
  80. package/context/package.json +6 -0
  81. package/hooks/index.d.ts +1 -0
  82. package/hooks/index.js +1 -0
  83. package/hooks/package.json +6 -0
  84. package/hooks/useSeries.d.ts +11 -0
  85. package/hooks/useSeries.js +14 -0
  86. package/index.d.ts +31 -0
  87. package/index.js +45 -0
  88. package/internals/utils/releaseInfo.d.ts +1 -0
  89. package/internals/utils/releaseInfo.js +13 -0
  90. package/models/index.d.ts +1 -0
  91. package/models/index.js +1 -0
  92. package/models/package.json +6 -0
  93. package/models/seriesType/heatmap.d.ts +28 -0
  94. package/models/seriesType/heatmap.js +1 -0
  95. package/models/seriesType/index.d.ts +1 -0
  96. package/models/seriesType/index.js +1 -0
  97. package/modern/BarChartPro/BarChartPro.js +417 -0
  98. package/modern/BarChartPro/index.js +1 -0
  99. package/modern/ChartContainerPro/ChartContainerPro.js +282 -0
  100. package/modern/ChartContainerPro/index.js +1 -0
  101. package/modern/ChartContainerPro/useChartContainerProProps.js +39 -0
  102. package/modern/Heatmap/DefaultHeatmapTooltip.js +97 -0
  103. package/modern/Heatmap/Heatmap.js +387 -0
  104. package/modern/Heatmap/HeatmapItem.js +106 -0
  105. package/modern/Heatmap/HeatmapPlot.js +57 -0
  106. package/modern/Heatmap/extremums.js +8 -0
  107. package/modern/Heatmap/formatter.js +20 -0
  108. package/modern/Heatmap/getColor.js +15 -0
  109. package/modern/Heatmap/heatmapClasses.js +13 -0
  110. package/modern/Heatmap/index.js +4 -0
  111. package/modern/Heatmap/plugin.js +10 -0
  112. package/modern/LineChartPro/LineChartPro.js +473 -0
  113. package/modern/LineChartPro/index.js +1 -0
  114. package/modern/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +259 -0
  115. package/modern/ResponsiveChartContainerPro/index.js +1 -0
  116. package/modern/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +25 -0
  117. package/modern/ScatterChartPro/ScatterChartPro.js +388 -0
  118. package/modern/ScatterChartPro/index.js +1 -0
  119. package/modern/context/CartesianProviderPro/CartesianProviderPro.js +54 -0
  120. package/modern/context/CartesianProviderPro/index.js +1 -0
  121. package/modern/context/ZoomProvider/Zoom.types.js +1 -0
  122. package/modern/context/ZoomProvider/ZoomContext.js +16 -0
  123. package/modern/context/ZoomProvider/ZoomProvider.js +53 -0
  124. package/modern/context/ZoomProvider/ZoomSetup.js +16 -0
  125. package/modern/context/ZoomProvider/defaultizeZoom.js +31 -0
  126. package/modern/context/ZoomProvider/index.js +3 -0
  127. package/modern/context/ZoomProvider/initializeZoomData.js +13 -0
  128. package/modern/context/ZoomProvider/useSetupPan.js +104 -0
  129. package/modern/context/ZoomProvider/useSetupZoom.js +272 -0
  130. package/modern/context/ZoomProvider/useZoom.js +17 -0
  131. package/modern/context/index.js +5 -0
  132. package/modern/hooks/index.js +1 -0
  133. package/modern/hooks/useSeries.js +14 -0
  134. package/modern/index.js +45 -0
  135. package/modern/internals/utils/releaseInfo.js +13 -0
  136. package/modern/models/index.js +1 -0
  137. package/modern/models/seriesType/heatmap.js +1 -0
  138. package/modern/models/seriesType/index.js +1 -0
  139. package/modern/typeOverloads/index.js +1 -0
  140. package/modern/typeOverloads/modules.js +1 -0
  141. package/node/BarChartPro/BarChartPro.js +425 -0
  142. package/node/BarChartPro/index.js +16 -0
  143. package/node/ChartContainerPro/ChartContainerPro.js +290 -0
  144. package/node/ChartContainerPro/index.js +16 -0
  145. package/node/ChartContainerPro/useChartContainerProProps.js +47 -0
  146. package/node/Heatmap/DefaultHeatmapTooltip.js +105 -0
  147. package/node/Heatmap/Heatmap.js +395 -0
  148. package/node/Heatmap/HeatmapItem.js +114 -0
  149. package/node/Heatmap/HeatmapPlot.js +65 -0
  150. package/node/Heatmap/extremums.js +15 -0
  151. package/node/Heatmap/formatter.js +27 -0
  152. package/node/Heatmap/getColor.js +21 -0
  153. package/node/Heatmap/heatmapClasses.js +21 -0
  154. package/node/Heatmap/index.js +47 -0
  155. package/node/Heatmap/plugin.js +17 -0
  156. package/node/LineChartPro/LineChartPro.js +481 -0
  157. package/node/LineChartPro/index.js +16 -0
  158. package/node/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +267 -0
  159. package/node/ResponsiveChartContainerPro/index.js +16 -0
  160. package/node/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +33 -0
  161. package/node/ScatterChartPro/ScatterChartPro.js +396 -0
  162. package/node/ScatterChartPro/index.js +16 -0
  163. package/node/context/CartesianProviderPro/CartesianProviderPro.js +61 -0
  164. package/node/context/CartesianProviderPro/index.js +16 -0
  165. package/node/context/ZoomProvider/Zoom.types.js +5 -0
  166. package/node/context/ZoomProvider/ZoomContext.js +24 -0
  167. package/node/context/ZoomProvider/ZoomProvider.js +62 -0
  168. package/node/context/ZoomProvider/ZoomSetup.js +20 -0
  169. package/node/context/ZoomProvider/defaultizeZoom.js +39 -0
  170. package/node/context/ZoomProvider/index.js +38 -0
  171. package/node/context/ZoomProvider/initializeZoomData.js +20 -0
  172. package/node/context/ZoomProvider/useSetupPan.js +114 -0
  173. package/node/context/ZoomProvider/useSetupZoom.js +281 -0
  174. package/node/context/ZoomProvider/useZoom.js +25 -0
  175. package/node/context/index.js +27 -0
  176. package/node/hooks/index.js +12 -0
  177. package/node/hooks/useSeries.js +21 -0
  178. package/node/index.js +354 -0
  179. package/node/internals/utils/releaseInfo.js +20 -0
  180. package/node/models/index.js +16 -0
  181. package/node/models/seriesType/heatmap.js +5 -0
  182. package/node/models/seriesType/index.js +16 -0
  183. package/node/typeOverloads/index.js +6 -0
  184. package/node/typeOverloads/modules.js +5 -0
  185. package/package.json +64 -0
  186. package/typeOverloads/index.d.ts +1 -0
  187. package/typeOverloads/index.js +1 -0
  188. package/typeOverloads/modules.d.ts +17 -0
  189. package/typeOverloads/modules.js +1 -0
  190. package/typeOverloads/package.json +6 -0
@@ -0,0 +1,259 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import * as React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { Watermark } from '@mui/x-license/Watermark';
5
+ import { ResizableContainer } from '@mui/x-charts/internals';
6
+ import { getReleaseInfo } from '../internals/utils/releaseInfo';
7
+ import { ChartContainerPro } from '../ChartContainerPro';
8
+ import { useResponsiveChartContainerProProps } from './useResponsiveChartContainerProProps';
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const releaseInfo = getReleaseInfo();
11
+ const ResponsiveChartContainerPro = /*#__PURE__*/React.forwardRef(function ResponsiveChartContainerPro(props, ref) {
12
+ const {
13
+ chartContainerProProps,
14
+ resizableChartContainerProps,
15
+ hasIntrinsicSize
16
+ } = useResponsiveChartContainerProProps(props, ref);
17
+ return /*#__PURE__*/_jsxs(ResizableContainer, _extends({}, resizableChartContainerProps, {
18
+ children: [hasIntrinsicSize ? /*#__PURE__*/_jsx(ChartContainerPro, _extends({}, chartContainerProProps)) : null, /*#__PURE__*/_jsx(Watermark, {
19
+ packageName: "x-charts-pro",
20
+ releaseInfo: releaseInfo
21
+ })]
22
+ }));
23
+ });
24
+ process.env.NODE_ENV !== "production" ? ResponsiveChartContainerPro.propTypes = {
25
+ // ----------------------------- Warning --------------------------------
26
+ // | These PropTypes are generated from the TypeScript type definitions |
27
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
28
+ // ----------------------------------------------------------------------
29
+ children: PropTypes.node,
30
+ className: PropTypes.string,
31
+ /**
32
+ * Color palette used to colorize multiple series.
33
+ * @default blueberryTwilightPalette
34
+ */
35
+ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
36
+ /**
37
+ * An array of objects that can be used to populate series and axes data using their `dataKey` property.
38
+ */
39
+ dataset: PropTypes.arrayOf(PropTypes.object),
40
+ desc: PropTypes.string,
41
+ /**
42
+ * If `true`, the charts will not listen to the mouse move event.
43
+ * It might break interactive features, but will improve performance.
44
+ * @default false
45
+ */
46
+ disableAxisListener: PropTypes.bool,
47
+ /**
48
+ * The height of the chart in px. If not defined, it takes the height of the parent element.
49
+ */
50
+ height: PropTypes.number,
51
+ /**
52
+ * The item currently highlighted. Turns highlighting into a controlled prop.
53
+ */
54
+ highlightedItem: PropTypes.shape({
55
+ dataIndex: PropTypes.number,
56
+ seriesId: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
57
+ }),
58
+ /**
59
+ * The margin between the SVG and the drawing area.
60
+ * It's used for leaving some space for extra information such as the x- and y-axis or legend.
61
+ * Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
62
+ * @default object Depends on the charts type.
63
+ */
64
+ margin: PropTypes.shape({
65
+ bottom: PropTypes.number,
66
+ left: PropTypes.number,
67
+ right: PropTypes.number,
68
+ top: PropTypes.number
69
+ }),
70
+ /**
71
+ * The callback fired when the highlighted item changes.
72
+ *
73
+ * @param {HighlightItemData | null} highlightedItem The newly highlighted item.
74
+ */
75
+ onHighlightChange: PropTypes.func,
76
+ /**
77
+ * Callback fired when the zoom has changed.
78
+ *
79
+ * @param {ZoomData[]} zoomData Updated zoom data.
80
+ */
81
+ onZoomChange: PropTypes.func,
82
+ /**
83
+ * An array of plugins defining how to preprocess data.
84
+ * If not provided, the container supports line, bar, scatter and pie charts.
85
+ */
86
+ plugins: PropTypes.arrayOf(PropTypes.object),
87
+ /**
88
+ * The array of series to display.
89
+ * Each type of series has its own specificity.
90
+ * Please refer to the appropriate docs page to learn more about it.
91
+ */
92
+ series: PropTypes.arrayOf(PropTypes.object).isRequired,
93
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
94
+ title: PropTypes.string,
95
+ viewBox: PropTypes.shape({
96
+ height: PropTypes.number,
97
+ width: PropTypes.number,
98
+ x: PropTypes.number,
99
+ y: PropTypes.number
100
+ }),
101
+ /**
102
+ * The width of the chart in px. If not defined, it takes the width of the parent element.
103
+ */
104
+ width: PropTypes.number,
105
+ /**
106
+ * The configuration of the x-axes.
107
+ * If not provided, a default axis config is used.
108
+ * An array of [[AxisConfig]] objects.
109
+ */
110
+ xAxis: PropTypes.arrayOf(PropTypes.shape({
111
+ classes: PropTypes.object,
112
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
113
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
114
+ type: PropTypes.oneOf(['ordinal']).isRequired,
115
+ unknownColor: PropTypes.string,
116
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
117
+ }), PropTypes.shape({
118
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
119
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
120
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
121
+ type: PropTypes.oneOf(['continuous']).isRequired
122
+ }), PropTypes.shape({
123
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
124
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
125
+ type: PropTypes.oneOf(['piecewise']).isRequired
126
+ })]),
127
+ data: PropTypes.array,
128
+ dataKey: PropTypes.string,
129
+ disableLine: PropTypes.bool,
130
+ disableTicks: PropTypes.bool,
131
+ fill: PropTypes.string,
132
+ hideTooltip: PropTypes.bool,
133
+ id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
134
+ label: PropTypes.string,
135
+ labelFontSize: PropTypes.number,
136
+ labelStyle: PropTypes.object,
137
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
138
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
139
+ position: PropTypes.oneOf(['bottom', 'top']),
140
+ reverse: PropTypes.bool,
141
+ scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
142
+ slotProps: PropTypes.object,
143
+ slots: PropTypes.object,
144
+ stroke: PropTypes.string,
145
+ tickFontSize: PropTypes.number,
146
+ tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
147
+ tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
148
+ tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
149
+ tickLabelStyle: PropTypes.object,
150
+ tickMaxStep: PropTypes.number,
151
+ tickMinStep: PropTypes.number,
152
+ tickNumber: PropTypes.number,
153
+ tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
154
+ tickSize: PropTypes.number,
155
+ valueFormatter: PropTypes.func,
156
+ zoom: PropTypes.oneOfType([PropTypes.shape({
157
+ maxEnd: PropTypes.number,
158
+ maxSpan: PropTypes.number,
159
+ minSpan: PropTypes.number,
160
+ minStart: PropTypes.number,
161
+ panning: PropTypes.bool,
162
+ step: PropTypes.number
163
+ }), PropTypes.bool])
164
+ })),
165
+ /**
166
+ * The configuration of the y-axes.
167
+ * If not provided, a default axis config is used.
168
+ * An array of [[AxisConfig]] objects.
169
+ */
170
+ yAxis: PropTypes.arrayOf(PropTypes.shape({
171
+ classes: PropTypes.object,
172
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
173
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
174
+ type: PropTypes.oneOf(['ordinal']).isRequired,
175
+ unknownColor: PropTypes.string,
176
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
177
+ }), PropTypes.shape({
178
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
179
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
180
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
181
+ type: PropTypes.oneOf(['continuous']).isRequired
182
+ }), PropTypes.shape({
183
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
184
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
185
+ type: PropTypes.oneOf(['piecewise']).isRequired
186
+ })]),
187
+ data: PropTypes.array,
188
+ dataKey: PropTypes.string,
189
+ disableLine: PropTypes.bool,
190
+ disableTicks: PropTypes.bool,
191
+ fill: PropTypes.string,
192
+ hideTooltip: PropTypes.bool,
193
+ id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
194
+ label: PropTypes.string,
195
+ labelFontSize: PropTypes.number,
196
+ labelStyle: PropTypes.object,
197
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
198
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
199
+ position: PropTypes.oneOf(['left', 'right']),
200
+ reverse: PropTypes.bool,
201
+ scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
202
+ slotProps: PropTypes.object,
203
+ slots: PropTypes.object,
204
+ stroke: PropTypes.string,
205
+ tickFontSize: PropTypes.number,
206
+ tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
207
+ tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
208
+ tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
209
+ tickLabelStyle: PropTypes.object,
210
+ tickMaxStep: PropTypes.number,
211
+ tickMinStep: PropTypes.number,
212
+ tickNumber: PropTypes.number,
213
+ tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
214
+ tickSize: PropTypes.number,
215
+ valueFormatter: PropTypes.func,
216
+ zoom: PropTypes.oneOfType([PropTypes.shape({
217
+ maxEnd: PropTypes.number,
218
+ maxSpan: PropTypes.number,
219
+ minSpan: PropTypes.number,
220
+ minStart: PropTypes.number,
221
+ panning: PropTypes.bool,
222
+ step: PropTypes.number
223
+ }), PropTypes.bool])
224
+ })),
225
+ /**
226
+ * The configuration of the z-axes.
227
+ */
228
+ zAxis: PropTypes.arrayOf(PropTypes.shape({
229
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
230
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
231
+ type: PropTypes.oneOf(['ordinal']).isRequired,
232
+ unknownColor: PropTypes.string,
233
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
234
+ }), PropTypes.shape({
235
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
236
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
237
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
238
+ type: PropTypes.oneOf(['continuous']).isRequired
239
+ }), PropTypes.shape({
240
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
241
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
242
+ type: PropTypes.oneOf(['piecewise']).isRequired
243
+ })]),
244
+ data: PropTypes.array,
245
+ dataKey: PropTypes.string,
246
+ id: PropTypes.string,
247
+ max: PropTypes.number,
248
+ min: PropTypes.number
249
+ })),
250
+ /**
251
+ * The list of zoom data related to each axis.
252
+ */
253
+ zoom: PropTypes.arrayOf(PropTypes.shape({
254
+ axisId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
255
+ end: PropTypes.number.isRequired,
256
+ start: PropTypes.number.isRequired
257
+ }))
258
+ } : void 0;
259
+ export { ResponsiveChartContainerPro };
@@ -0,0 +1 @@
1
+ export * from './ResponsiveChartContainerPro';
@@ -0,0 +1,25 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ const _excluded = ["zoom", "onZoomChange"];
4
+ import { useResponsiveChartContainerProps } from '@mui/x-charts/internals';
5
+ export const useResponsiveChartContainerProProps = (props, ref) => {
6
+ const {
7
+ zoom,
8
+ onZoomChange
9
+ } = props,
10
+ baseProps = _objectWithoutPropertiesLoose(props, _excluded);
11
+ const chartContainerProProps = {
12
+ zoom,
13
+ onZoomChange
14
+ };
15
+ const {
16
+ chartContainerProps,
17
+ resizableChartContainerProps,
18
+ hasIntrinsicSize
19
+ } = useResponsiveChartContainerProps(baseProps, ref);
20
+ return {
21
+ chartContainerProProps: _extends({}, chartContainerProps, chartContainerProProps),
22
+ resizableChartContainerProps,
23
+ hasIntrinsicSize
24
+ };
25
+ };
@@ -0,0 +1,388 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
+ const _excluded = ["zoom", "onZoomChange"];
4
+ import * as React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { ChartsOverlay } from '@mui/x-charts/ChartsOverlay';
7
+ import { ScatterPlot } from '@mui/x-charts/ScatterChart';
8
+ import { ZAxisContextProvider } from '@mui/x-charts/context';
9
+ import { ChartsVoronoiHandler } from '@mui/x-charts/ChartsVoronoiHandler';
10
+ import { ChartsAxis } from '@mui/x-charts/ChartsAxis';
11
+ import { ChartsGrid } from '@mui/x-charts/ChartsGrid';
12
+ import { ChartsLegend } from '@mui/x-charts/ChartsLegend';
13
+ import { ChartsAxisHighlight } from '@mui/x-charts/ChartsAxisHighlight';
14
+ import { ChartsTooltip } from '@mui/x-charts/ChartsTooltip';
15
+ import { useScatterChartProps } from '@mui/x-charts/internals';
16
+ import { ResponsiveChartContainerPro } from '../ResponsiveChartContainerPro';
17
+ import { ZoomSetup } from '../context/ZoomProvider/ZoomSetup';
18
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
+ /**
20
+ * Demos:
21
+ *
22
+ * - [Scatter](https://mui.com/x/react-charts/scatter/)
23
+ * - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/)
24
+ *
25
+ * API:
26
+ *
27
+ * - [ScatterChart API](https://mui.com/x/api/charts/scatter-chart/)
28
+ */
29
+ const ScatterChartPro = /*#__PURE__*/React.forwardRef(function ScatterChartPro(props, ref) {
30
+ const {
31
+ zoom,
32
+ onZoomChange
33
+ } = props,
34
+ other = _objectWithoutPropertiesLoose(props, _excluded);
35
+ const {
36
+ chartContainerProps,
37
+ zAxisProps,
38
+ voronoiHandlerProps,
39
+ chartsAxisProps,
40
+ gridProps,
41
+ scatterPlotProps,
42
+ overlayProps,
43
+ legendProps,
44
+ axisHighlightProps,
45
+ tooltipProps,
46
+ children
47
+ } = useScatterChartProps(other);
48
+ return /*#__PURE__*/_jsx(ResponsiveChartContainerPro, _extends({
49
+ ref: ref
50
+ }, chartContainerProps, {
51
+ zoom: zoom,
52
+ onZoomChange: onZoomChange,
53
+ children: /*#__PURE__*/_jsxs(ZAxisContextProvider, _extends({}, zAxisProps, {
54
+ children: [!props.disableVoronoi && /*#__PURE__*/_jsx(ChartsVoronoiHandler, _extends({}, voronoiHandlerProps)), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), props.grid && /*#__PURE__*/_jsx(ChartsGrid, _extends({}, gridProps)), /*#__PURE__*/_jsx("g", {
55
+ "data-drawing-container": true,
56
+ children: /*#__PURE__*/_jsx(ScatterPlot, _extends({}, scatterPlotProps))
57
+ }), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), !props.loading && /*#__PURE__*/_jsx(ChartsTooltip, _extends({}, tooltipProps)), /*#__PURE__*/_jsx(ZoomSetup, {}), children]
58
+ }))
59
+ }));
60
+ });
61
+ process.env.NODE_ENV !== "production" ? ScatterChartPro.propTypes = {
62
+ // ----------------------------- Warning --------------------------------
63
+ // | These PropTypes are generated from the TypeScript type definitions |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
+ // ----------------------------------------------------------------------
66
+ /**
67
+ * The configuration of axes highlight.
68
+ * @see See {@link https://mui.com/x/react-charts/tooltip/#highlights highlight docs} for more details.
69
+ * @default { x: 'none', y: 'none' }
70
+ */
71
+ axisHighlight: PropTypes.shape({
72
+ x: PropTypes.oneOf(['band', 'line', 'none']),
73
+ y: PropTypes.oneOf(['band', 'line', 'none'])
74
+ }),
75
+ /**
76
+ * Indicate which axis to display the bottom of the charts.
77
+ * Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
78
+ * @default xAxisIds[0] The id of the first provided axis
79
+ */
80
+ bottomAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
81
+ children: PropTypes.node,
82
+ className: PropTypes.string,
83
+ /**
84
+ * Color palette used to colorize multiple series.
85
+ * @default blueberryTwilightPalette
86
+ */
87
+ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
88
+ /**
89
+ * An array of objects that can be used to populate series and axes data using their `dataKey` property.
90
+ */
91
+ dataset: PropTypes.arrayOf(PropTypes.object),
92
+ desc: PropTypes.string,
93
+ /**
94
+ * If `true`, the charts will not listen to the mouse move event.
95
+ * It might break interactive features, but will improve performance.
96
+ * @default false
97
+ */
98
+ disableAxisListener: PropTypes.bool,
99
+ /**
100
+ * If true, the interaction will not use the Voronoi cell and fall back to hover events.
101
+ * @default false
102
+ */
103
+ disableVoronoi: PropTypes.bool,
104
+ /**
105
+ * Option to display a cartesian grid in the background.
106
+ */
107
+ grid: PropTypes.shape({
108
+ horizontal: PropTypes.bool,
109
+ vertical: PropTypes.bool
110
+ }),
111
+ /**
112
+ * The height of the chart in px. If not defined, it takes the height of the parent element.
113
+ */
114
+ height: PropTypes.number,
115
+ /**
116
+ * The item currently highlighted. Turns highlighting into a controlled prop.
117
+ */
118
+ highlightedItem: PropTypes.shape({
119
+ dataIndex: PropTypes.number,
120
+ seriesId: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
121
+ }),
122
+ /**
123
+ * Indicate which axis to display the left of the charts.
124
+ * Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
125
+ * @default yAxisIds[0] The id of the first provided axis
126
+ */
127
+ leftAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
128
+ /**
129
+ * @deprecated Consider using `slotProps.legend` instead.
130
+ */
131
+ legend: PropTypes.shape({
132
+ classes: PropTypes.object,
133
+ direction: PropTypes.oneOf(['column', 'row']),
134
+ hidden: PropTypes.bool,
135
+ position: PropTypes.shape({
136
+ horizontal: PropTypes.oneOf(['left', 'middle', 'right']).isRequired,
137
+ vertical: PropTypes.oneOf(['bottom', 'middle', 'top']).isRequired
138
+ }),
139
+ slotProps: PropTypes.object,
140
+ slots: PropTypes.object
141
+ }),
142
+ /**
143
+ * If `true`, a loading overlay is displayed.
144
+ * @default false
145
+ */
146
+ loading: PropTypes.bool,
147
+ /**
148
+ * The margin between the SVG and the drawing area.
149
+ * It's used for leaving some space for extra information such as the x- and y-axis or legend.
150
+ * Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
151
+ * @default object Depends on the charts type.
152
+ */
153
+ margin: PropTypes.shape({
154
+ bottom: PropTypes.number,
155
+ left: PropTypes.number,
156
+ right: PropTypes.number,
157
+ top: PropTypes.number
158
+ }),
159
+ /**
160
+ * The callback fired when the highlighted item changes.
161
+ *
162
+ * @param {HighlightItemData | null} highlightedItem The newly highlighted item.
163
+ */
164
+ onHighlightChange: PropTypes.func,
165
+ /**
166
+ * Callback fired when clicking on a scatter item.
167
+ * @param {MouseEvent} event The mouse event recorded on the `<svg/>` element if using Voronoi cells. Or the Mouse event from the scatter element, when `disableVoronoi=true`.
168
+ * @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
169
+ */
170
+ onItemClick: PropTypes.func,
171
+ /**
172
+ * Callback fired when the zoom has changed.
173
+ *
174
+ * @param {ZoomData[]} zoomData Updated zoom data.
175
+ */
176
+ onZoomChange: PropTypes.func,
177
+ /**
178
+ * Indicate which axis to display the right of the charts.
179
+ * Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
180
+ * @default null
181
+ */
182
+ rightAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
183
+ /**
184
+ * The series to display in the scatter chart.
185
+ * An array of [[ScatterSeriesType]] objects.
186
+ */
187
+ series: PropTypes.arrayOf(PropTypes.object).isRequired,
188
+ /**
189
+ * The props used for each component slot.
190
+ * @default {}
191
+ */
192
+ slotProps: PropTypes.object,
193
+ /**
194
+ * Overridable component slots.
195
+ * @default {}
196
+ */
197
+ slots: PropTypes.object,
198
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
199
+ title: PropTypes.string,
200
+ /**
201
+ * The configuration of the tooltip.
202
+ * @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details.
203
+ * @default { trigger: 'item' }
204
+ */
205
+ tooltip: PropTypes.shape({
206
+ axisContent: PropTypes.elementType,
207
+ classes: PropTypes.object,
208
+ itemContent: PropTypes.elementType,
209
+ slotProps: PropTypes.object,
210
+ slots: PropTypes.object,
211
+ trigger: PropTypes.oneOf(['axis', 'item', 'none'])
212
+ }),
213
+ /**
214
+ * Indicate which axis to display the top of the charts.
215
+ * Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
216
+ * @default null
217
+ */
218
+ topAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
219
+ viewBox: PropTypes.shape({
220
+ height: PropTypes.number,
221
+ width: PropTypes.number,
222
+ x: PropTypes.number,
223
+ y: PropTypes.number
224
+ }),
225
+ /**
226
+ * Defines the maximal distance between a scatter point and the pointer that triggers the interaction.
227
+ * If `undefined`, the radius is assumed to be infinite.
228
+ */
229
+ voronoiMaxRadius: PropTypes.number,
230
+ /**
231
+ * The width of the chart in px. If not defined, it takes the width of the parent element.
232
+ */
233
+ width: PropTypes.number,
234
+ /**
235
+ * The configuration of the x-axes.
236
+ * If not provided, a default axis config is used.
237
+ * An array of [[AxisConfig]] objects.
238
+ */
239
+ xAxis: PropTypes.arrayOf(PropTypes.shape({
240
+ classes: PropTypes.object,
241
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
242
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
243
+ type: PropTypes.oneOf(['ordinal']).isRequired,
244
+ unknownColor: PropTypes.string,
245
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
246
+ }), PropTypes.shape({
247
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
248
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
249
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
250
+ type: PropTypes.oneOf(['continuous']).isRequired
251
+ }), PropTypes.shape({
252
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
253
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
254
+ type: PropTypes.oneOf(['piecewise']).isRequired
255
+ })]),
256
+ data: PropTypes.array,
257
+ dataKey: PropTypes.string,
258
+ disableLine: PropTypes.bool,
259
+ disableTicks: PropTypes.bool,
260
+ fill: PropTypes.string,
261
+ hideTooltip: PropTypes.bool,
262
+ id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
263
+ label: PropTypes.string,
264
+ labelFontSize: PropTypes.number,
265
+ labelStyle: PropTypes.object,
266
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
267
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
268
+ position: PropTypes.oneOf(['bottom', 'top']),
269
+ reverse: PropTypes.bool,
270
+ scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
271
+ slotProps: PropTypes.object,
272
+ slots: PropTypes.object,
273
+ stroke: PropTypes.string,
274
+ tickFontSize: PropTypes.number,
275
+ tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
276
+ tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
277
+ tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
278
+ tickLabelStyle: PropTypes.object,
279
+ tickMaxStep: PropTypes.number,
280
+ tickMinStep: PropTypes.number,
281
+ tickNumber: PropTypes.number,
282
+ tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
283
+ tickSize: PropTypes.number,
284
+ valueFormatter: PropTypes.func,
285
+ zoom: PropTypes.oneOfType([PropTypes.shape({
286
+ maxEnd: PropTypes.number,
287
+ maxSpan: PropTypes.number,
288
+ minSpan: PropTypes.number,
289
+ minStart: PropTypes.number,
290
+ panning: PropTypes.bool,
291
+ step: PropTypes.number
292
+ }), PropTypes.bool])
293
+ })),
294
+ /**
295
+ * The configuration of the y-axes.
296
+ * If not provided, a default axis config is used.
297
+ * An array of [[AxisConfig]] objects.
298
+ */
299
+ yAxis: PropTypes.arrayOf(PropTypes.shape({
300
+ classes: PropTypes.object,
301
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
302
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
303
+ type: PropTypes.oneOf(['ordinal']).isRequired,
304
+ unknownColor: PropTypes.string,
305
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
306
+ }), PropTypes.shape({
307
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
308
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
309
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
310
+ type: PropTypes.oneOf(['continuous']).isRequired
311
+ }), PropTypes.shape({
312
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
313
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
314
+ type: PropTypes.oneOf(['piecewise']).isRequired
315
+ })]),
316
+ data: PropTypes.array,
317
+ dataKey: PropTypes.string,
318
+ disableLine: PropTypes.bool,
319
+ disableTicks: PropTypes.bool,
320
+ fill: PropTypes.string,
321
+ hideTooltip: PropTypes.bool,
322
+ id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
323
+ label: PropTypes.string,
324
+ labelFontSize: PropTypes.number,
325
+ labelStyle: PropTypes.object,
326
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
327
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
328
+ position: PropTypes.oneOf(['left', 'right']),
329
+ reverse: PropTypes.bool,
330
+ scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
331
+ slotProps: PropTypes.object,
332
+ slots: PropTypes.object,
333
+ stroke: PropTypes.string,
334
+ tickFontSize: PropTypes.number,
335
+ tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
336
+ tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
337
+ tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
338
+ tickLabelStyle: PropTypes.object,
339
+ tickMaxStep: PropTypes.number,
340
+ tickMinStep: PropTypes.number,
341
+ tickNumber: PropTypes.number,
342
+ tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
343
+ tickSize: PropTypes.number,
344
+ valueFormatter: PropTypes.func,
345
+ zoom: PropTypes.oneOfType([PropTypes.shape({
346
+ maxEnd: PropTypes.number,
347
+ maxSpan: PropTypes.number,
348
+ minSpan: PropTypes.number,
349
+ minStart: PropTypes.number,
350
+ panning: PropTypes.bool,
351
+ step: PropTypes.number
352
+ }), PropTypes.bool])
353
+ })),
354
+ /**
355
+ * The configuration of the z-axes.
356
+ */
357
+ zAxis: PropTypes.arrayOf(PropTypes.shape({
358
+ colorMap: PropTypes.oneOfType([PropTypes.shape({
359
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
360
+ type: PropTypes.oneOf(['ordinal']).isRequired,
361
+ unknownColor: PropTypes.string,
362
+ values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
363
+ }), PropTypes.shape({
364
+ color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
365
+ max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
366
+ min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
367
+ type: PropTypes.oneOf(['continuous']).isRequired
368
+ }), PropTypes.shape({
369
+ colors: PropTypes.arrayOf(PropTypes.string).isRequired,
370
+ thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
371
+ type: PropTypes.oneOf(['piecewise']).isRequired
372
+ })]),
373
+ data: PropTypes.array,
374
+ dataKey: PropTypes.string,
375
+ id: PropTypes.string,
376
+ max: PropTypes.number,
377
+ min: PropTypes.number
378
+ })),
379
+ /**
380
+ * The list of zoom data related to each axis.
381
+ */
382
+ zoom: PropTypes.arrayOf(PropTypes.shape({
383
+ axisId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
384
+ end: PropTypes.number.isRequired,
385
+ start: PropTypes.number.isRequired
386
+ }))
387
+ } : void 0;
388
+ export { ScatterChartPro };
@@ -0,0 +1 @@
1
+ export * from './ScatterChartPro';