Skip to content

Commit

Permalink
[BUGFIX] GaugeChartPanel: fix empty state
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasgerstmayr committed Feb 5, 2025
1 parent a8657ad commit a05366e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GaugeChart/src/GaugeChartPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
} from './gauge-chart-model';
import { convertThresholds, defaultThresholdInput } from './thresholds';

const EMPTY_GAUGE_SERIES: GaugeSeries = { label: '', value: null };
const EMPTY_GAUGE_SERIES: GaugeSeries = { label: '', value: undefined };
const GAUGE_MIN_WIDTH = 90;
const PANEL_PADDING_OFFSET = 20;

Expand Down

0 comments on commit a05366e

Please sign in to comment.