@fluentui/react-charts 0.0.0-nightly-20251121-0407.1 → 0.0.0-nightly-20251124-0406.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 +13 -13
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +18 -17
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +5 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib/components/LineChart/LineChart.js +8 -2
- package/lib/components/LineChart/LineChart.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.js +20 -5
- package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +18 -17
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +5 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js +8 -2
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.js +19 -4
- package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +3 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charts
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 24 Nov 2025 04:21:23 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-20251124-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251124-0406.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.6..@fluentui/react-charts_v0.0.0-nightly-
|
|
9
|
+
Mon, 24 Nov 2025 04:21:23 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.6..@fluentui/react-charts_v0.0.0-nightly-20251124-0406.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-
|
|
15
|
+
- Bump @fluentui/react-button to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
17
|
+
- Bump @fluentui/react-overflow to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
18
|
+
- Bump @fluentui/react-popover to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tooltip to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
23
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20251124-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c77a18c4d2cea5cacd2d3ac1dd58bc93d17e932e) by beachball)
|
|
24
24
|
|
|
25
25
|
## [9.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.6)
|
|
26
26
|
|
|
@@ -2641,23 +2641,25 @@ export const getAllupLegendsProps = (input, colorMap, colorwayType, traceInfo, i
|
|
|
2641
2641
|
if (toShowLegend) {
|
|
2642
2642
|
input.data.forEach((series, index)=>{
|
|
2643
2643
|
if (traceInfo[index].type === 'donut') {
|
|
2644
|
-
var _input_layout, _input_layout_template_layout, _input_layout_template, _input_layout1, _input_layout2, _pieSeries_marker
|
|
2644
|
+
var _input_layout, _input_layout_template_layout, _input_layout_template, _input_layout1, _input_layout2, _pieSeries_marker;
|
|
2645
2645
|
const pieSeries = series;
|
|
2646
2646
|
var _input_layout_piecolorway, _input_layout_piecolorway1;
|
|
2647
2647
|
const colors = extractColor((_input_layout_piecolorway = (_input_layout = input.layout) === null || _input_layout === void 0 ? void 0 : _input_layout.piecolorway) !== null && _input_layout_piecolorway !== void 0 ? _input_layout_piecolorway : (_input_layout1 = input.layout) === null || _input_layout1 === void 0 ? void 0 : (_input_layout_template = _input_layout1.template) === null || _input_layout_template === void 0 ? void 0 : (_input_layout_template_layout = _input_layout_template.layout) === null || _input_layout_template_layout === void 0 ? void 0 : _input_layout_template_layout.colorway, colorwayType, (_input_layout_piecolorway1 = (_input_layout2 = input.layout) === null || _input_layout2 === void 0 ? void 0 : _input_layout2.piecolorway) !== null && _input_layout_piecolorway1 !== void 0 ? _input_layout_piecolorway1 : pieSeries === null || pieSeries === void 0 ? void 0 : (_pieSeries_marker = pieSeries.marker) === null || _pieSeries_marker === void 0 ? void 0 : _pieSeries_marker.colors, colorMap, isDarkTheme, true);
|
|
2648
|
-
(
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
allupLegends.
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2648
|
+
if (isArrayOrTypedArray(pieSeries.labels)) {
|
|
2649
|
+
pieSeries.labels.forEach((label, labelIndex)=>{
|
|
2650
|
+
var _input_layout, _input_layout_template_layout, _input_layout_template, _input_layout1;
|
|
2651
|
+
const legend = `${label}`;
|
|
2652
|
+
var _input_layout_piecolorway;
|
|
2653
|
+
// resolve color for each legend from the extracted colors
|
|
2654
|
+
const color = resolveColor(colors, labelIndex, legend, colorMap, (_input_layout_piecolorway = (_input_layout = input.layout) === null || _input_layout === void 0 ? void 0 : _input_layout.piecolorway) !== null && _input_layout_piecolorway !== void 0 ? _input_layout_piecolorway : (_input_layout1 = input.layout) === null || _input_layout1 === void 0 ? void 0 : (_input_layout_template = _input_layout1.template) === null || _input_layout_template === void 0 ? void 0 : (_input_layout_template_layout = _input_layout_template.layout) === null || _input_layout_template_layout === void 0 ? void 0 : _input_layout_template_layout.colorway, isDarkTheme, true);
|
|
2655
|
+
if (legend !== '' && allupLegends.some((group)=>group.title === legend) === false) {
|
|
2656
|
+
allupLegends.push({
|
|
2657
|
+
title: legend,
|
|
2658
|
+
color
|
|
2659
|
+
});
|
|
2660
|
+
}
|
|
2661
|
+
});
|
|
2662
|
+
}
|
|
2661
2663
|
} else if (isNonPlotType(traceInfo[index].type) === false) {
|
|
2662
2664
|
var _plotSeries_line, _plotSeries_marker, _input_layout_template_layout1, _input_layout_template1, _input_layout3;
|
|
2663
2665
|
const plotSeries = series;
|
|
@@ -3142,9 +3144,8 @@ const getAxisType = (data, ax)=>{
|
|
|
3142
3144
|
const values = [];
|
|
3143
3145
|
data.forEach((series)=>{
|
|
3144
3146
|
const axId = series[`${axLetter}axis`];
|
|
3145
|
-
if (axId === ax._id || !axId && ax._id === axLetter) {
|
|
3146
|
-
|
|
3147
|
-
(_series_axLetter = series[axLetter]) === null || _series_axLetter === void 0 ? void 0 : _series_axLetter.forEach((val)=>{
|
|
3147
|
+
if ((axId === ax._id || !axId && ax._id === axLetter) && isArrayOrTypedArray(series[axLetter])) {
|
|
3148
|
+
series[axLetter].forEach((val)=>{
|
|
3148
3149
|
if (!isInvalidValue(val)) {
|
|
3149
3150
|
values.push(val);
|
|
3150
3151
|
}
|