Dominik Prokop 7 anni fa
parent
commit
44a7bd68be
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/grafana-ui/src/components/Gauge/Gauge.tsx

+ 1 - 0
packages/grafana-ui/src/components/Gauge/Gauge.tsx

@@ -4,6 +4,7 @@ import $ from 'jquery';
 import { ValueMapping, Threshold, BasicGaugeColor } from '../../types/panel';
 import { TimeSeriesVMs } from '../../types/series';
 import { GrafanaTheme } from '../../types';
+import { getMappedValue } from '../../utils/valueMappings';
 import { getValueFormat } from '../../utils/valueFormats/valueFormats';
 import { getColorFromHexRgbOrName } from '../../utils/namedColorsPalette';