Skip to content

Commit

Permalink
Add legendUnit property to DashboardChartComponent and MetricExplorer…
Browse files Browse the repository at this point in the history
… for enhanced chart configuration
  • Loading branch information
simlarsen committed Dec 2, 2024
1 parent 257b428 commit 52a952f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const DashboardChartComponentElement: FunctionComponent<ComponentProps> = (
description: props.component.arguments.chartDescription || undefined,
metricVariable: undefined,
legend: undefined,
legendUnit: undefined,
}
}]
: [],
Expand Down
1 change: 1 addition & 0 deletions Dashboard/src/Components/Metrics/MetricExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const MetricExplorer: FunctionComponent = (): ReactElement => {
title: "",
description: "",
legend: "",
legendUnit: "",
},
metricQueryData: {
filterData: {
Expand Down

0 comments on commit 52a952f

Please sign in to comment.