|
|
@ -74,9 +74,9 @@ function getGrafanaSeriesList(grafanaData: PanelData, timeRange: TimeRange): any |
|
|
|
function fillGrafanaOptionsWithDefaults(options: PanelOptions): PanelOptions { |
|
|
|
function fillGrafanaOptionsWithDefaults(options: PanelOptions): PanelOptions { |
|
|
|
const defaults = { |
|
|
|
const defaults = { |
|
|
|
gauge: { |
|
|
|
gauge: { |
|
|
|
min: {}, |
|
|
|
min: { useMetric: false }, |
|
|
|
max: {}, |
|
|
|
max: { useMetric: false }, |
|
|
|
value: {}, |
|
|
|
value: { useMetric: false }, |
|
|
|
valueSize: 20, |
|
|
|
valueSize: 20, |
|
|
|
reversed: false, |
|
|
|
reversed: false, |
|
|
|
thresholds: { |
|
|
|
thresholds: { |
|
|
|