@fluentui/react-charts 0.0.0-nightly-20251006-0407.1 → 0.0.0-nightly-20251008-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 CHANGED
@@ -1,28 +1,37 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Mon, 06 Oct 2025 04:22:26 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Oct 2025 04:22:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20251006-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251006-0407.1)
7
+ ## [0.0.0-nightly-20251008-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251008-0407.1)
8
8
 
9
- Mon, 06 Oct 2025 04:22:26 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.0..@fluentui/react-charts_v0.0.0-nightly-20251006-0407.1)
9
+ Wed, 08 Oct 2025 04:22:39 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.1..@fluentui/react-charts_v0.0.0-nightly-20251008-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-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
16
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
17
- - Bump @fluentui/react-overflow to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
18
- - Bump @fluentui/react-popover to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
21
- - Bump @fluentui/react-theme to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
22
- - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
24
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
25
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20251006-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/e156aee44f26749f2990e060d8dc70262c97b577) by beachball)
15
+ - Bump @fluentui/react-button to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
16
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
17
+ - Bump @fluentui/react-overflow to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
18
+ - Bump @fluentui/react-popover to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
21
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
22
+ - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
24
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
25
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20251008-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/a96c061e08116ef9d4a660ab1e1331111644253e) by beachball)
26
+
27
+ ## [9.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.1)
28
+
29
+ Mon, 06 Oct 2025 15:01:58 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.0..@fluentui/react-charts_v9.3.1)
31
+
32
+ ### Patches
33
+
34
+ - feat: enable wrapping of string x-axis labels in scatterchart ([PR #35231](https://github.com/microsoft/fluentui/pull/35231) by 132879294+v-baambati@users.noreply.github.com)
26
35
 
27
36
  ## [9.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.0)
28
37
 
@@ -708,6 +708,7 @@ const transformPlotlyJsonToScatterTraceProps = (input, isMultiPlot, chartType, c
708
708
  let mode = 'tonexty';
709
709
  const { legends, hideLegend } = getLegendProps(input.data, input.layout, isMultiPlot);
710
710
  const yAxisTickFormat = getYAxisTickFormat(input.data[0], input.layout);
711
+ var shouldWrapLabels = false;
711
712
  const chartData = input.data.map((series, index)=>{
712
713
  var _series_mode, _series_line, _series_marker, _series_line1, _input_layout_template_layout, _input_layout_template, _input_layout, _series_mode1;
713
714
  const colors = isScatterMarkers ? (series === null || series === void 0 ? void 0 : (_series_mode = series.mode) === null || _series_mode === void 0 ? void 0 : _series_mode.includes('line')) ? (_series_line = series.line) === null || _series_line === void 0 ? void 0 : _series_line.color : (_series_marker = series.marker) === null || _series_marker === void 0 ? void 0 : _series_marker.color : (_series_line1 = series.line) === null || _series_line1 === void 0 ? void 0 : _series_line1.color;
@@ -718,6 +719,7 @@ const transformPlotlyJsonToScatterTraceProps = (input, isMultiPlot, chartType, c
718
719
  const isXDate = isDateArray(xValues);
719
720
  const isXNumber = isNumberArray(xValues);
720
721
  const isXYearCategory = isYearArray(series.x); // Consider year as categorical not numeric continuous axis
722
+ shouldWrapLabels = shouldWrapLabels || isXString && !isXDate;
721
723
  const legend = legends[index];
722
724
  // resolve color for each legend's lines from the extracted colors
723
725
  const seriesColor = resolveColor(extractedColors, index, legend, colorMap, isDarkTheme);
@@ -794,6 +796,7 @@ const transformPlotlyJsonToScatterTraceProps = (input, isMultiPlot, chartType, c
794
796
  hideTickOverlap: true,
795
797
  hideLegend,
796
798
  useUTC: false,
799
+ wrapXAxisLables: shouldWrapLabels,
797
800
  optimizeLargeData: numDataPoints > 1000,
798
801
  ...getTitles(input.layout),
799
802
  ...getXAxisTickFormat(input.data[0], input.layout),