API Reference@grafana/uiBarGauge

BarGauge class

Signature

export declare class BarGauge extends PureComponent<Props> 

Import

import { BarGauge } from '@grafana/ui';

Properties

Property Modifiers Type Description
defaultProps static Partial<Props>

Methods

Method Modifiers Description
render()
renderBarAndValue()
renderBasicAndGradientBars()
renderRetroBars()

defaultProps property

Signature

static defaultProps: Partial<Props>;

render method

Signature

render(): JSX.Element;

Returns:

JSX.Element

renderBarAndValue method

Signature

renderBarAndValue(): React.ReactNode;

Returns:

React.ReactNode

renderBasicAndGradientBars method

Signature

renderBasicAndGradientBars(): ReactNode;

Returns:

ReactNode

renderRetroBars method

Signature

renderRetroBars(): ReactNode;

Returns:

ReactNode