BarGauge class

Signature

  1. export declare class BarGauge extends PureComponent<Props>

Import

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

Properties

PropertyModifiersTypeDescription
defaultPropsstaticPartial<Props>

Methods

MethodModifiersDescription
render()
renderBarAndValue()
renderBasicAndGradientBars()
renderRetroBars()

defaultProps property

Signature

  1. static defaultProps: Partial<Props>;

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element

renderBarAndValue method

Signature

  1. renderBarAndValue(): React.ReactNode;

Returns:

React.ReactNode

renderBasicAndGradientBars method

Signature

  1. renderBasicAndGradientBars(): ReactNode;

Returns:

ReactNode

renderRetroBars method

Signature

  1. renderRetroBars(): ReactNode;

Returns:

ReactNode