UNPKG

@grafana/ui

Version:
26 lines (25 loc) 1.38 kB
import { SelectableValue } from '@grafana/data'; import { AxisPlacement, BarAlignment, GraphDrawStyle, GraphGradientMode, GraphThresholdsStyleMode, LineInterpolation, VisibilityMode, StackingMode } from '@grafana/schema'; export declare const getGraphFieldOptions: () => { drawStyle: Array<SelectableValue<GraphDrawStyle>>; lineInterpolation: Array<SelectableValue<LineInterpolation>>; barAlignment: Array<SelectableValue<BarAlignment>>; showPoints: Array<SelectableValue<VisibilityMode>>; axisPlacement: Array<SelectableValue<AxisPlacement>>; fillGradient: Array<SelectableValue<GraphGradientMode>>; stacking: Array<SelectableValue<StackingMode>>; thresholdsDisplayModes: Array<SelectableValue<GraphThresholdsStyleMode>>; }; /** * @deprecated Use `getGraphFieldOptions` instead so translations load correctly. */ export declare const graphFieldOptions: { drawStyle: Array<SelectableValue<GraphDrawStyle>>; lineInterpolation: Array<SelectableValue<LineInterpolation>>; barAlignment: Array<SelectableValue<BarAlignment>>; showPoints: Array<SelectableValue<VisibilityMode>>; axisPlacement: Array<SelectableValue<AxisPlacement>>; fillGradient: Array<SelectableValue<GraphGradientMode>>; stacking: Array<SelectableValue<StackingMode>>; thresholdsDisplayModes: Array<SelectableValue<GraphThresholdsStyleMode>>; };