@fluentui/react-charts 0.0.0-nightly-20251128-0406.1 → 0.0.0-nightly-20251202-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,26 +1,26 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Fri, 28 Nov 2025 04:21:08 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 02 Dec 2025 04:21:41 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20251128-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251128-0406.1)
7
+ ## [0.0.0-nightly-20251202-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251202-0407.1)
8
8
 
9
- Fri, 28 Nov 2025 04:21:08 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.6..@fluentui/react-charts_v0.0.0-nightly-20251128-0406.1)
9
+ Tue, 02 Dec 2025 04:21:41 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.6..@fluentui/react-charts_v0.0.0-nightly-20251202-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-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
16
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
17
- - Bump @fluentui/react-overflow to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
18
- - Bump @fluentui/react-popover to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
21
- - Bump @fluentui/react-theme to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
22
- - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20251128-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/185ed644940482856381ff7dfb0dc7319c8559bc) by beachball)
15
+ - Bump @fluentui/react-button to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
16
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
17
+ - Bump @fluentui/react-overflow to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
18
+ - Bump @fluentui/react-popover to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
21
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
22
+ - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20251202-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/0a63dd5cf2817b8b03d83edf62b8f40771981ba1) by beachball)
24
24
 
25
25
  ## [9.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.6)
26
26
 
@@ -712,27 +712,24 @@ export function calloutData(values) {
712
712
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
713
713
  combinedResult.forEach((ele)=>{
714
714
  const xValue = ele.x instanceof Date ? ele.x.getTime() : ele.x;
715
+ const newPoint = {
716
+ legend: ele.legend,
717
+ y: ele.y,
718
+ color: ele.color,
719
+ xAxisCalloutData: ele.xAxisCalloutData,
720
+ yAxisCalloutData: ele.yAxisCalloutData,
721
+ callOutAccessibilityData: ele.callOutAccessibilityData,
722
+ index: ele.index
723
+ };
715
724
  if (xValue in xValToDataPoints) {
716
- xValToDataPoints[xValue].push({
717
- legend: ele.legend,
718
- y: ele.y,
719
- color: ele.color,
720
- xAxisCalloutData: ele.xAxisCalloutData,
721
- yAxisCalloutData: ele.yAxisCalloutData,
722
- callOutAccessibilityData: ele.callOutAccessibilityData,
723
- index: ele.index
724
- });
725
+ // Check if a point with the same legend and y-value already exists
726
+ const existingPoint = xValToDataPoints[xValue].find((p)=>p.legend === newPoint.legend && p.y === newPoint.y);
727
+ if (!existingPoint) {
728
+ xValToDataPoints[xValue].push(newPoint);
729
+ }
725
730
  } else {
726
731
  xValToDataPoints[xValue] = [
727
- {
728
- legend: ele.legend,
729
- y: ele.y,
730
- color: ele.color,
731
- xAxisCalloutData: ele.xAxisCalloutData,
732
- yAxisCalloutData: ele.yAxisCalloutData,
733
- callOutAccessibilityData: ele.callOutAccessibilityData,
734
- index: ele.index
735
- }
732
+ newPoint
736
733
  ];
737
734
  }
738
735
  });