Skip to content

grafit-charts


Interface: LinearGaugeSeriesOptions

Extends

  • StandaloneSeriesBaseOptions

Properties

fills?

optional fills?: string[]

Inherited from

StandaloneSeriesBaseOptions.fills


id?

optional id?: string

Inherited from

StandaloneSeriesBaseOptions.id


label?

optional label?: GaugeLabelOptions

The value printed beside the bar.


name?

optional name?: string

Name of what the value of a node measures — the label of the tooltip row. Without it the row is named by the data key the value came from, which is the name of a column, not of a measure.

Inherited from

StandaloneSeriesBaseOptions.name


orientation?

optional orientation?: "vertical" | "horizontal"

Which way the scale runs (horizontal by default).


scale?

optional scale?: object

max?

optional max?: number

min?

optional min?: number


segments?

optional segments?: GaugeSegment[]

Colored scale segments: the value each color extends to. With segments the track carries the qualitative ranges and the value rides over them as a thinner bar, the way a bullet chart reads.


showInLegend?

optional showInLegend?: boolean

Inherited from

StandaloneSeriesBaseOptions.showInLegend


target?

optional target?: number

Target mark.


targetColor?

optional targetColor?: string

Color of the target mark (the foreground of the theme by default).


thickness?

optional thickness?: number


ticks?

optional ticks?: GaugeLabelOptions

The two ends of the scale, printed along the track.


tooltip?

optional tooltip?: Switchable & object

Type Declaration

renderer?

optional renderer?: (params) => string | TooltipContentData

Parameters
params

NodeTooltipRendererParams

Returns

string | TooltipContentData

Inherited from

StandaloneSeriesBaseOptions.tooltip


type

type: "linear-gauge"


value

value: number


visible?

optional visible?: boolean

Inherited from

StandaloneSeriesBaseOptions.visible