Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

GraphFieldConfig interface

Signature

typescript
export interface GraphFieldConfig extends LineConfig, FillConfig, PointsConfig, AxisConfig, BarConfig, StackableFieldConfig, HideableFieldConfig 

Import

typescript
import { GraphFieldConfig } from '@grafana/schema';

Properties

PropertyTypeDescription
drawStyleGraphDrawStyle
gradientModeGraphGradientMode
thresholdsStyleGraphThresholdsStyleConfig

drawStyle property

Signature

typescript
drawStyle?: GraphDrawStyle;

gradientMode property

Signature

typescript
gradientMode?: GraphGradientMode;

thresholdsStyle property

Signature

typescript
thresholdsStyle?: GraphThresholdsStyleConfig;