@mui/x-charts-premium 9.0.3 → 9.0.4
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/BarChartPremium/RangeBar/FocusedRangeBar.js +3 -0
- package/BarChartPremium/RangeBar/FocusedRangeBar.mjs +3 -0
- package/CHANGELOG.md +87 -0
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +2 -2
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +2 -2
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +2 -2
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +2 -2
- package/HeatmapPremium/webgl/shaders.d.mts +1 -1
- package/HeatmapPremium/webgl/shaders.d.ts +1 -1
- package/HeatmapPremium/webgl/shaders.js +1 -1
- package/HeatmapPremium/webgl/shaders.mjs +1 -1
- package/RadialLineChart/RadialMarkPlot.js +16 -2
- package/RadialLineChart/RadialMarkPlot.mjs +16 -2
- package/RadialLineChart/useRadialLinePlotData.d.mts +3 -1
- package/RadialLineChart/useRadialLinePlotData.d.ts +3 -1
- package/RadialLineChart/useRadialLinePlotData.js +3 -0
- package/RadialLineChart/useRadialLinePlotData.mjs +3 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +6 -6
|
@@ -30,6 +30,9 @@ function FocusedRangeBar(props) {
|
|
|
30
30
|
return null;
|
|
31
31
|
}
|
|
32
32
|
const series = rangeBarSeries.series[focusedItem.seriesId];
|
|
33
|
+
if (!series || series.hidden) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
33
36
|
if (series.data[focusedItem.dataIndex] == null) {
|
|
34
37
|
// Handle missing data
|
|
35
38
|
return null;
|
|
@@ -23,6 +23,9 @@ export function FocusedRangeBar(props) {
|
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
25
|
const series = rangeBarSeries.series[focusedItem.seriesId];
|
|
26
|
+
if (!series || series.hidden) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
26
29
|
if (series.data[focusedItem.dataIndex] == null) {
|
|
27
30
|
// Handle missing data
|
|
28
31
|
return null;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,92 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.4
|
|
4
|
+
|
|
5
|
+
_Apr 28, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- Fix Pickers previous (v9.0.3) release ensuring the latest `@mui/x-internals` version usage
|
|
10
|
+
|
|
11
|
+
The following team members contributed to this release:
|
|
12
|
+
@alexfauquette, @JCQuintas, @LukasTy, @mj12albert
|
|
13
|
+
|
|
14
|
+
### Data Grid
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-data-grid@9.0.4`
|
|
17
|
+
|
|
18
|
+
Internal changes.
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid-pro@9.0.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
21
|
+
|
|
22
|
+
Same changes as in `@mui/x-data-grid@9.0.4`.
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid-premium@9.0.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
25
|
+
|
|
26
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.4`.
|
|
27
|
+
|
|
28
|
+
### Date and Time Pickers
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-date-pickers@9.0.4`
|
|
31
|
+
|
|
32
|
+
Internal changes.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-date-pickers-pro@9.0.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-date-pickers@9.0.4`.
|
|
37
|
+
|
|
38
|
+
### Charts
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-charts@9.0.4`
|
|
41
|
+
|
|
42
|
+
- [charts] Exclude hidden series and items from keyboard navigation (alt approach) (#22221) @JCQuintas
|
|
43
|
+
- [charts] Fix line interaction with `area` and `conectNulls` (#22227) @alexfauquette
|
|
44
|
+
- [charts] Implement the continuous case of `getAxisIndex` for rotation axis (#22230) @alexfauquette
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts-pro@9.0.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-charts@9.0.4`.
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-premium@9.0.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts-pro@9.0.4` plus:
|
|
53
|
+
|
|
54
|
+
- [charts-premium] Add `showMark` and `shape` properties to radial line (#22226) @alexfauquette
|
|
55
|
+
|
|
56
|
+
### Tree View
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-tree-view@9.0.4`
|
|
59
|
+
|
|
60
|
+
Internal changes.
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-tree-view-pro@9.0.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
63
|
+
|
|
64
|
+
Same changes as in `@mui/x-tree-view@9.0.4`.
|
|
65
|
+
|
|
66
|
+
### Scheduler
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-scheduler@9.0.4`
|
|
69
|
+
|
|
70
|
+
Internal changes.
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-scheduler-premium@9.0.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-scheduler@9.0.4`.
|
|
75
|
+
|
|
76
|
+
### Codemod
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-codemod@9.0.4`
|
|
79
|
+
|
|
80
|
+
Internal changes.
|
|
81
|
+
|
|
82
|
+
### Docs
|
|
83
|
+
|
|
84
|
+
- [docs] Update WCAG links (#22234) @mj12albert
|
|
85
|
+
|
|
86
|
+
### Core
|
|
87
|
+
|
|
88
|
+
- [code-infra] Avoid overriding `renovate` `ignoredPaths` (#22228) @LukasTy
|
|
89
|
+
|
|
3
90
|
## 9.0.3
|
|
4
91
|
|
|
5
92
|
_Apr 27, 2026_
|
|
@@ -19,8 +19,8 @@ var _useChartsDataProviderPremiumProps = require("./useChartsDataProviderPremium
|
|
|
19
19
|
var _seriesConfig2 = require("../CandlestickChart/seriesConfig");
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
21
|
const packageInfo = {
|
|
22
|
-
releaseDate: "
|
|
23
|
-
version: "9.0.
|
|
22
|
+
releaseDate: "MTc3NzMzNDQwMDAwMA==",
|
|
23
|
+
version: "9.0.4",
|
|
24
24
|
name: 'x-charts-premium'
|
|
25
25
|
};
|
|
26
26
|
const defaultSeriesConfigPremium = exports.defaultSeriesConfigPremium = (0, _extends2.default)({}, _internals2.defaultSeriesConfigPro, {
|
|
@@ -13,8 +13,8 @@ import { useChartsDataProviderPremiumProps } from "./useChartsDataProviderPremiu
|
|
|
13
13
|
import { ohlcSeriesConfig } from "../CandlestickChart/seriesConfig/index.mjs";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
const packageInfo = {
|
|
16
|
-
releaseDate: "
|
|
17
|
-
version: "9.0.
|
|
16
|
+
releaseDate: "MTc3NzMzNDQwMDAwMA==",
|
|
17
|
+
version: "9.0.4",
|
|
18
18
|
name: 'x-charts-premium'
|
|
19
19
|
};
|
|
20
20
|
export const defaultSeriesConfigPremium = _extends({}, defaultSeriesConfigPro, {
|
|
@@ -18,8 +18,8 @@ var _useChartsRadialDataProviderPremiumProps = require("./useChartsRadialDataPro
|
|
|
18
18
|
var _ChartsRadialDataProviderPremium = require("./ChartsRadialDataProviderPremium.plugins");
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
20
|
const packageInfo = {
|
|
21
|
-
releaseDate: "
|
|
22
|
-
version: "9.0.
|
|
21
|
+
releaseDate: "MTc3NzMzNDQwMDAwMA==",
|
|
22
|
+
version: "9.0.4",
|
|
23
23
|
name: 'x-charts-premium'
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
@@ -11,8 +11,8 @@ import { useChartsRadialDataProviderPremiumProps } from "./useChartsRadialDataPr
|
|
|
11
11
|
import { RADIAL_PREMIUM_PLUGINS } from "./ChartsRadialDataProviderPremium.plugins.mjs";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const packageInfo = {
|
|
14
|
-
releaseDate: "
|
|
15
|
-
version: "9.0.
|
|
14
|
+
releaseDate: "MTc3NzMzNDQwMDAwMA==",
|
|
15
|
+
version: "9.0.4",
|
|
16
16
|
name: 'x-charts-premium'
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const heatmapVertexShaderSource = "\n precision mediump float;\n \n attribute vec2 a_position;\n attribute vec2 a_center;\n attribute vec4 a_color;\n attribute float a_saturation;\n \n varying vec4 v_color;\n varying vec2 v_pos;\n \n uniform vec2 u_dimensions;\n uniform vec2 u_resolution;\n \n // https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/\n vec3 adjust_saturation(vec3 color, float value) {\n // https://www.w3.org/TR/
|
|
1
|
+
export declare const heatmapVertexShaderSource = "\n precision mediump float;\n \n attribute vec2 a_position;\n attribute vec2 a_center;\n attribute vec4 a_color;\n attribute float a_saturation;\n \n varying vec4 v_color;\n varying vec2 v_pos;\n \n uniform vec2 u_dimensions;\n uniform vec2 u_resolution;\n \n // https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/\n vec3 adjust_saturation(vec3 color, float value) {\n // https://www.w3.org/TR/WCAG22/#dfn-relative-luminance\n const vec3 luminosityFactor = vec3(0.2126, 0.7152, 0.0722);\n vec3 grayscale = vec3(dot(color, luminosityFactor));\n \n return mix(grayscale, color, 1.0 + value);\n }\n \n void main() {\n // Convert from pixels to clip space (-1 to 1)\n vec2 position = a_center + a_position * u_dimensions / 2.0;\n vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0;\n gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1);\n \n v_color = vec4(adjust_saturation(a_color.rgb, a_saturation), 1.0);\n v_pos = a_position * u_dimensions / 2.0;\n }\n ";
|
|
2
2
|
export declare const heatmapFragmentShaderSourceNoBorderRadius = "\n precision mediump float;\n \n varying vec4 v_color;\n \n void main() {\n gl_FragColor = v_color;\n }\n ";
|
|
3
3
|
export declare const heatmapFragmentShaderSourceWithBorderRadius = "\n precision mediump float;\n\n varying vec4 v_color;\n varying vec2 v_pos;\n\n uniform vec2 u_dimensions;\n uniform float u_borderRadius;\n\n float roundedBoxSDF(vec2 pos, vec2 half_size, float radius) {\n vec2 q = abs(pos) - half_size + radius;\n return min(max(q.x, q.y), 0.0) + length(max(q, 0.0)) - radius;\n }\n\n void main() {\n // Calculate distance from rounded rectangle edge\n float dist = roundedBoxSDF(v_pos, u_dimensions / 2.0, u_borderRadius);\n \n // Create smooth alpha based on distance\n float alpha = 1.0 - smoothstep(-0.5, 0.5, dist);\n \n gl_FragColor = vec4(v_color.rgb, v_color.a * alpha);\n }\n ";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const heatmapVertexShaderSource = "\n precision mediump float;\n \n attribute vec2 a_position;\n attribute vec2 a_center;\n attribute vec4 a_color;\n attribute float a_saturation;\n \n varying vec4 v_color;\n varying vec2 v_pos;\n \n uniform vec2 u_dimensions;\n uniform vec2 u_resolution;\n \n // https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/\n vec3 adjust_saturation(vec3 color, float value) {\n // https://www.w3.org/TR/
|
|
1
|
+
export declare const heatmapVertexShaderSource = "\n precision mediump float;\n \n attribute vec2 a_position;\n attribute vec2 a_center;\n attribute vec4 a_color;\n attribute float a_saturation;\n \n varying vec4 v_color;\n varying vec2 v_pos;\n \n uniform vec2 u_dimensions;\n uniform vec2 u_resolution;\n \n // https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/\n vec3 adjust_saturation(vec3 color, float value) {\n // https://www.w3.org/TR/WCAG22/#dfn-relative-luminance\n const vec3 luminosityFactor = vec3(0.2126, 0.7152, 0.0722);\n vec3 grayscale = vec3(dot(color, luminosityFactor));\n \n return mix(grayscale, color, 1.0 + value);\n }\n \n void main() {\n // Convert from pixels to clip space (-1 to 1)\n vec2 position = a_center + a_position * u_dimensions / 2.0;\n vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0;\n gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1);\n \n v_color = vec4(adjust_saturation(a_color.rgb, a_saturation), 1.0);\n v_pos = a_position * u_dimensions / 2.0;\n }\n ";
|
|
2
2
|
export declare const heatmapFragmentShaderSourceNoBorderRadius = "\n precision mediump float;\n \n varying vec4 v_color;\n \n void main() {\n gl_FragColor = v_color;\n }\n ";
|
|
3
3
|
export declare const heatmapFragmentShaderSourceWithBorderRadius = "\n precision mediump float;\n\n varying vec4 v_color;\n varying vec2 v_pos;\n\n uniform vec2 u_dimensions;\n uniform float u_borderRadius;\n\n float roundedBoxSDF(vec2 pos, vec2 half_size, float radius) {\n vec2 q = abs(pos) - half_size + radius;\n return min(max(q.x, q.y), 0.0) + length(max(q, 0.0)) - radius;\n }\n\n void main() {\n // Calculate distance from rounded rectangle edge\n float dist = roundedBoxSDF(v_pos, u_dimensions / 2.0, u_borderRadius);\n \n // Create smooth alpha based on distance\n float alpha = 1.0 - smoothstep(-0.5, 0.5, dist);\n \n gl_FragColor = vec4(v_color.rgb, v_color.a * alpha);\n }\n ";
|
|
@@ -21,7 +21,7 @@ const heatmapVertexShaderSource = exports.heatmapVertexShaderSource = /* glsl */
|
|
|
21
21
|
|
|
22
22
|
// https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/
|
|
23
23
|
vec3 adjust_saturation(vec3 color, float value) {
|
|
24
|
-
// https://www.w3.org/TR/
|
|
24
|
+
// https://www.w3.org/TR/WCAG22/#dfn-relative-luminance
|
|
25
25
|
const vec3 luminosityFactor = vec3(0.2126, 0.7152, 0.0722);
|
|
26
26
|
vec3 grayscale = vec3(dot(color, luminosityFactor));
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@ export const heatmapVertexShaderSource = /* glsl */`
|
|
|
15
15
|
|
|
16
16
|
// https://tsev.dev/posts/2020-06-19-colour-correction-with-webgl/
|
|
17
17
|
vec3 adjust_saturation(vec3 color, float value) {
|
|
18
|
-
// https://www.w3.org/TR/
|
|
18
|
+
// https://www.w3.org/TR/WCAG22/#dfn-relative-luminance
|
|
19
19
|
const vec3 luminosityFactor = vec3(0.2126, 0.7152, 0.0722);
|
|
20
20
|
vec3 grayscale = vec3(dot(color, luminosityFactor));
|
|
21
21
|
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.RadialMarkPlot = RadialMarkPlot;
|
|
7
|
+
var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
|
|
7
8
|
var _styles = require("@mui/material/styles");
|
|
9
|
+
var _internals = require("@mui/x-charts/internals");
|
|
8
10
|
var _useRadialLinePlotData = require("./useRadialLinePlotData");
|
|
9
11
|
var _radialLineClasses = require("./radialLineClasses");
|
|
10
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -26,21 +28,33 @@ function RadialMarkPlot(props) {
|
|
|
26
28
|
points,
|
|
27
29
|
seriesId,
|
|
28
30
|
color,
|
|
29
|
-
hidden
|
|
31
|
+
hidden,
|
|
32
|
+
showMark,
|
|
33
|
+
shape
|
|
30
34
|
}) => {
|
|
35
|
+
if (!showMark) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
const path = shape === 'circle' ? null : (0, _d3Shape.symbol)(_d3Shape.symbolsFill[(0, _internals.getSymbol)(shape)])();
|
|
31
39
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
32
40
|
"data-series": seriesId,
|
|
33
41
|
children: points.map(({
|
|
34
42
|
x,
|
|
35
43
|
y,
|
|
36
44
|
dataIndex
|
|
37
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
45
|
+
}) => shape === 'circle' ? /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
38
46
|
cx: x,
|
|
39
47
|
cy: y,
|
|
40
48
|
r: 4,
|
|
41
49
|
fill: color,
|
|
42
50
|
opacity: hidden ? 0 : 1,
|
|
43
51
|
className: classes.mark
|
|
52
|
+
}, dataIndex) : /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
53
|
+
d: path,
|
|
54
|
+
transform: `translate(${x}, ${y})`,
|
|
55
|
+
fill: color,
|
|
56
|
+
opacity: hidden ? 0 : 1,
|
|
57
|
+
className: classes.mark
|
|
44
58
|
}, dataIndex))
|
|
45
59
|
}, seriesId);
|
|
46
60
|
})
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { symbol as d3Symbol, symbolsFill as d3SymbolsFill } from '@mui/x-charts-vendor/d3-shape';
|
|
1
2
|
import { styled } from '@mui/material/styles';
|
|
3
|
+
import { getSymbol } from '@mui/x-charts/internals';
|
|
2
4
|
import { useRadialLinePlotData } from "./useRadialLinePlotData.mjs";
|
|
3
5
|
import { useUtilityClasses } from "./radialLineClasses.mjs";
|
|
4
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -20,21 +22,33 @@ export function RadialMarkPlot(props) {
|
|
|
20
22
|
points,
|
|
21
23
|
seriesId,
|
|
22
24
|
color,
|
|
23
|
-
hidden
|
|
25
|
+
hidden,
|
|
26
|
+
showMark,
|
|
27
|
+
shape
|
|
24
28
|
}) => {
|
|
29
|
+
if (!showMark) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
const path = shape === 'circle' ? null : d3Symbol(d3SymbolsFill[getSymbol(shape)])();
|
|
25
33
|
return /*#__PURE__*/_jsx("g", {
|
|
26
34
|
"data-series": seriesId,
|
|
27
35
|
children: points.map(({
|
|
28
36
|
x,
|
|
29
37
|
y,
|
|
30
38
|
dataIndex
|
|
31
|
-
}) => /*#__PURE__*/_jsx("circle", {
|
|
39
|
+
}) => shape === 'circle' ? /*#__PURE__*/_jsx("circle", {
|
|
32
40
|
cx: x,
|
|
33
41
|
cy: y,
|
|
34
42
|
r: 4,
|
|
35
43
|
fill: color,
|
|
36
44
|
opacity: hidden ? 0 : 1,
|
|
37
45
|
className: classes.mark
|
|
46
|
+
}, dataIndex) : /*#__PURE__*/_jsx("path", {
|
|
47
|
+
d: path,
|
|
48
|
+
transform: `translate(${x}, ${y})`,
|
|
49
|
+
fill: color,
|
|
50
|
+
opacity: hidden ? 0 : 1,
|
|
51
|
+
className: classes.mark
|
|
38
52
|
}, dataIndex))
|
|
39
53
|
}, seriesId);
|
|
40
54
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CurveType, type SeriesId } from '@mui/x-charts/models';
|
|
1
|
+
import { type CurveType, type MarkShape, type SeriesId } from '@mui/x-charts/models';
|
|
2
2
|
export interface RadialLinePoint {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
@@ -12,6 +12,8 @@ interface RadialLinePlotDataPoint {
|
|
|
12
12
|
seriesId: SeriesId;
|
|
13
13
|
color: string;
|
|
14
14
|
hidden: boolean;
|
|
15
|
+
showMark: boolean;
|
|
16
|
+
shape: MarkShape;
|
|
15
17
|
area?: boolean;
|
|
16
18
|
curve?: CurveType;
|
|
17
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CurveType, type SeriesId } from '@mui/x-charts/models';
|
|
1
|
+
import { type CurveType, type MarkShape, type SeriesId } from '@mui/x-charts/models';
|
|
2
2
|
export interface RadialLinePoint {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
@@ -12,6 +12,8 @@ interface RadialLinePlotDataPoint {
|
|
|
12
12
|
seriesId: SeriesId;
|
|
13
13
|
color: string;
|
|
14
14
|
hidden: boolean;
|
|
15
|
+
showMark: boolean;
|
|
16
|
+
shape: MarkShape;
|
|
15
17
|
area?: boolean;
|
|
16
18
|
curve?: CurveType;
|
|
17
19
|
}
|
|
@@ -39,6 +39,7 @@ function useRadialLinePlotData() {
|
|
|
39
39
|
hidden,
|
|
40
40
|
area = false,
|
|
41
41
|
curve,
|
|
42
|
+
shape,
|
|
42
43
|
rotationAxisId = rotationAxisIds[0],
|
|
43
44
|
radiusAxisId = radiusAxisIds[0]
|
|
44
45
|
} = series[seriesId];
|
|
@@ -69,6 +70,8 @@ function useRadialLinePlotData() {
|
|
|
69
70
|
points,
|
|
70
71
|
seriesId,
|
|
71
72
|
hidden,
|
|
73
|
+
showMark: Boolean(series[seriesId].showMark),
|
|
74
|
+
shape: shape ?? 'circle',
|
|
72
75
|
area,
|
|
73
76
|
curve
|
|
74
77
|
});
|
|
@@ -32,6 +32,7 @@ export function useRadialLinePlotData() {
|
|
|
32
32
|
hidden,
|
|
33
33
|
area = false,
|
|
34
34
|
curve,
|
|
35
|
+
shape,
|
|
35
36
|
rotationAxisId = rotationAxisIds[0],
|
|
36
37
|
radiusAxisId = radiusAxisIds[0]
|
|
37
38
|
} = series[seriesId];
|
|
@@ -62,6 +63,8 @@ export function useRadialLinePlotData() {
|
|
|
62
63
|
points,
|
|
63
64
|
seriesId,
|
|
64
65
|
hidden,
|
|
66
|
+
showMark: Boolean(series[seriesId].showMark),
|
|
67
|
+
shape: shape ?? 'circle',
|
|
65
68
|
area,
|
|
66
69
|
curve
|
|
67
70
|
});
|
package/index.js
CHANGED
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-premium",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Charts components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@mui/utils": "9.0.0",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/x-charts
|
|
35
|
-
"@mui/x-
|
|
36
|
-
"@mui/x-charts": "^9.0.
|
|
37
|
-
"@mui/x-
|
|
38
|
-
"@mui/x-charts-
|
|
34
|
+
"@mui/x-charts": "^9.0.4",
|
|
35
|
+
"@mui/x-license": "^9.0.4",
|
|
36
|
+
"@mui/x-charts-vendor": "^9.0.0",
|
|
37
|
+
"@mui/x-internals": "^9.0.4",
|
|
38
|
+
"@mui/x-charts-pro": "^9.0.4"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@emotion/react": "^11.9.0",
|