diff --git a/src/components/Panel.tsx b/src/components/Panel.tsx index c0070cb..16a7b32 100644 --- a/src/components/Panel.tsx +++ b/src/components/Panel.tsx @@ -74,9 +74,9 @@ function getGrafanaSeriesList(grafanaData: PanelData, timeRange: TimeRange): any function fillGrafanaOptionsWithDefaults(options: PanelOptions): PanelOptions { const defaults = { gauge: { - min: {}, - max: {}, - value: {}, + min: { useMetric: false }, + max: { useMetric: false }, + value: { useMetric: false }, valueSize: 20, reversed: false, thresholds: {