|
|
@@ -1,10 +1,20 @@
|
|
|
+import {
|
|
|
+ ReducerID,
|
|
|
+ reduceField,
|
|
|
+ FieldType,
|
|
|
+ NullValueMode,
|
|
|
+ DataFrame,
|
|
|
+ Field,
|
|
|
+ DisplayValue,
|
|
|
+ GraphSeriesValue,
|
|
|
+} from '@grafana/data';
|
|
|
+
|
|
|
import toNumber from 'lodash/toNumber';
|
|
|
import toString from 'lodash/toString';
|
|
|
|
|
|
-import { DisplayValue, GrafanaTheme, InterpolateFunction, ScopedVars, GraphSeriesValue } from '../types/index';
|
|
|
+import { GrafanaTheme, InterpolateFunction, ScopedVars } from '../types/index';
|
|
|
import { getDisplayProcessor } from './displayValue';
|
|
|
import { getFlotPairs } from './flotPairs';
|
|
|
-import { ReducerID, reduceField, FieldType, NullValueMode, DataFrame, Field } from '@grafana/data';
|
|
|
|
|
|
export interface FieldDisplayOptions {
|
|
|
values?: boolean; // If true show each row value
|