Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Added missing xAxisCalloutData param while fetching callout data",
"packageName": "@fluentui/react-charting",
"email": "[email protected]",
"dependentChangeType": "patch"
}
4 changes: 4 additions & 0 deletions packages/react-charting/src/utilities/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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,
Expand All @@ -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,
Expand Down