From 87fdb356301201eb034fc5999c6f9b868d2e0bc7 Mon Sep 17 00:00:00 2001 From: Shubhabrata Ghosh Date: Tue, 17 Oct 2023 10:38:16 +0530 Subject: [PATCH 1/2] Added missing xAxisCallout param in calloutData --- packages/react-charting/src/utilities/utilities.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-charting/src/utilities/utilities.ts b/packages/react-charting/src/utilities/utilities.ts index 6141eb1c79c3f..41f10ba33e7fc 100644 --- a/packages/react-charting/src/utilities/utilities.ts +++ b/packages/react-charting/src/utilities/utilities.ts @@ -502,6 +502,7 @@ export function calloutData(values: (ILineChartPoints & { index?: number })[]) { legend: string; y: number; color: string; + xAxisCalloutData?: string; yAxisCalloutData?: string | { [id: string]: number }; callOutAccessibilityData?: IAccessibilityProps; index?: number; @@ -510,6 +511,7 @@ export function calloutData(values: (ILineChartPoints & { index?: number })[]) { legend: string; y: number; color: string; + xAxisCalloutData?: string; yAxisCalloutData?: string | { [id: string]: number }; callOutAccessibilityData?: IAccessibilityProps; index?: number; @@ -522,6 +524,7 @@ export function calloutData(values: (ILineChartPoints & { index?: number })[]) { legend: ele.legend, y: ele.y, color: ele.color!, + xAxisCalloutData: ele.xAxisCalloutData, yAxisCalloutData: ele.yAxisCalloutData, callOutAccessibilityData: ele.callOutAccessibilityData, index: ele.index, @@ -532,6 +535,7 @@ export function calloutData(values: (ILineChartPoints & { index?: number })[]) { legend: ele.legend, y: ele.y, color: ele.color!, + xAxisCalloutData: ele.xAxisCalloutData, yAxisCalloutData: ele.yAxisCalloutData, callOutAccessibilityData: ele.callOutAccessibilityData, index: ele.index, From f09d686ea11082fca43cee567a0d54c0bb7abcf1 Mon Sep 17 00:00:00 2001 From: Shubhabrata Ghosh Date: Tue, 17 Oct 2023 10:44:25 +0530 Subject: [PATCH 2/2] Added changefile --- ...eact-charting-f831c35a-e12e-458d-9a22-de0345f66557.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@fluentui-react-charting-f831c35a-e12e-458d-9a22-de0345f66557.json diff --git a/change/@fluentui-react-charting-f831c35a-e12e-458d-9a22-de0345f66557.json b/change/@fluentui-react-charting-f831c35a-e12e-458d-9a22-de0345f66557.json new file mode 100644 index 0000000000000..f802f34026b93 --- /dev/null +++ b/change/@fluentui-react-charting-f831c35a-e12e-458d-9a22-de0345f66557.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Added missing xAxisCalloutData param while fetching callout data", + "packageName": "@fluentui/react-charting", + "email": "shubhabrata08@gmail.com", + "dependentChangeType": "patch" +}