@fluentui/react-charts 0.0.0-nightly-20251120-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.
Files changed (22) hide show
  1. package/CHANGELOG.md +13 -13
  2. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +18 -17
  3. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  4. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +5 -2
  5. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  6. package/lib/components/LineChart/LineChart.js +8 -2
  7. package/lib/components/LineChart/LineChart.js.map +1 -1
  8. package/lib/components/ScatterChart/ScatterChart.js +20 -5
  9. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  10. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +4 -2
  11. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  12. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +18 -17
  13. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  14. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +5 -2
  15. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  16. package/lib-commonjs/components/LineChart/LineChart.js +8 -2
  17. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  18. package/lib-commonjs/components/ScatterChart/ScatterChart.js +19 -4
  19. package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -1
  20. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +3 -1
  21. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  22. 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 Thu, 20 Nov 2025 04:21:55 GMT and should not be manually modified.
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-20251120-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251120-0407.1)
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
- Thu, 20 Nov 2025 04:21:55 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.6..@fluentui/react-charts_v0.0.0-nightly-20251120-0407.1)
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-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
16
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
17
- - Bump @fluentui/react-overflow to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
18
- - Bump @fluentui/react-popover to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
21
- - Bump @fluentui/react-theme to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
22
- - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20251120-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/fc0bfc0fe911f47d696e7f6e630f7ba4677fdf12) by beachball)
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, _pieSeries_labels;
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
- (_pieSeries_labels = pieSeries.labels) === null || _pieSeries_labels === void 0 ? void 0 : _pieSeries_labels.forEach((label, labelIndex)=>{
2649
- var _input_layout, _input_layout_template_layout, _input_layout_template, _input_layout1;
2650
- const legend = `${label}`;
2651
- var _input_layout_piecolorway;
2652
- // resolve color for each legend from the extracted colors
2653
- 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);
2654
- if (legend !== '' && allupLegends.some((group)=>group.title === legend) === false) {
2655
- allupLegends.push({
2656
- title: legend,
2657
- color
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
- var _series_axLetter;
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
  }