@fluentui/react-charts 0.0.0-nightly-20251028-0422.1 → 0.0.0-nightly-20251030-0407.1
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/CHANGELOG.md +15 -15
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +20 -5
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +20 -5
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charts
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 30 Oct 2025 04:22:00 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-nightly-
|
|
7
|
+
## [0.0.0-nightly-20251030-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251030-0407.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.3..@fluentui/react-charts_v0.0.0-nightly-
|
|
9
|
+
Thu, 30 Oct 2025 04:22:00 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.3..@fluentui/react-charts_v0.0.0-nightly-20251030-0407.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
|
15
|
-
- Bump @fluentui/react-button to v0.0.0-nightly-
|
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-
|
|
17
|
-
- Bump @fluentui/react-overflow to v0.0.0-nightly-
|
|
18
|
-
- Bump @fluentui/react-popover to v0.0.0-nightly-
|
|
19
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
|
20
|
-
- Bump @fluentui/react-tabster to v0.0.0-nightly-
|
|
21
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
|
22
|
-
- Bump @fluentui/react-tooltip to v0.0.0-nightly-
|
|
23
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
|
24
|
-
- Bump @fluentui/react-conformance to v0.0.0-nightly-
|
|
25
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
|
15
|
+
- Bump @fluentui/react-button to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
17
|
+
- Bump @fluentui/react-overflow to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
18
|
+
- Bump @fluentui/react-popover to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tooltip to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
23
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
24
|
+
- Bump @fluentui/react-conformance to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
25
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20251030-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/5deabe7d2d49123e590c9e8e259deebe41db1b34) by beachball)
|
|
26
26
|
|
|
27
27
|
## [9.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.3)
|
|
28
28
|
|
|
@@ -409,7 +409,7 @@ export const transformPlotlyJsonToDonutProps = (input, isMultiPlot, colorMap, co
|
|
|
409
409
|
};
|
|
410
410
|
};
|
|
411
411
|
export const transformPlotlyJsonToVSBCProps = (input, isMultiPlot, colorMap, colorwayType, isDarkTheme, fallbackVSBC)=>{
|
|
412
|
-
var
|
|
412
|
+
var _input_layout, _input_layout1, _input_layout2, _vsbcData_;
|
|
413
413
|
const mapXToDataPoints = {};
|
|
414
414
|
let yMaxValue = 0;
|
|
415
415
|
let yMinValue = 0;
|
|
@@ -486,15 +486,30 @@ export const transformPlotlyJsonToVSBCProps = (input, isMultiPlot, colorMap, col
|
|
|
486
486
|
});
|
|
487
487
|
});
|
|
488
488
|
});
|
|
489
|
-
var
|
|
490
|
-
const xCategories = (
|
|
489
|
+
var _input_data;
|
|
490
|
+
const xCategories = Array.from(new Set(((_input_data = input.data) !== null && _input_data !== void 0 ? _input_data : []).flatMap((trace)=>{
|
|
491
|
+
const xData = trace.x;
|
|
492
|
+
if (!xData) {
|
|
493
|
+
return [];
|
|
494
|
+
}
|
|
495
|
+
if (Array.isArray(xData)) {
|
|
496
|
+
return xData.flat().map((x)=>{
|
|
497
|
+
return x;
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
return [];
|
|
501
|
+
}).filter((x)=>x !== undefined && x !== null)));
|
|
491
502
|
var _input_layout_shapes;
|
|
492
503
|
((_input_layout_shapes = (_input_layout = input.layout) === null || _input_layout === void 0 ? void 0 : _input_layout.shapes) !== null && _input_layout_shapes !== void 0 ? _input_layout_shapes : []).filter((shape)=>shape.type === 'line').forEach((shape, shapeIdx)=>{
|
|
493
504
|
var _shape_line;
|
|
494
505
|
const lineColor = (_shape_line = shape.line) === null || _shape_line === void 0 ? void 0 : _shape_line.color;
|
|
495
506
|
const resolveX = (val)=>{
|
|
496
|
-
if (typeof val === 'number' && Array.isArray(xCategories)
|
|
497
|
-
|
|
507
|
+
if (typeof val === 'number' && Array.isArray(xCategories)) {
|
|
508
|
+
if (xCategories[val] !== undefined) {
|
|
509
|
+
return xCategories[val];
|
|
510
|
+
} else {
|
|
511
|
+
return xCategories[shapeIdx];
|
|
512
|
+
}
|
|
498
513
|
}
|
|
499
514
|
return val;
|
|
500
515
|
};
|