Gauge class
Signature
export declare class Gauge extends PureComponent<Props>
Import
import { Gauge } from '@grafana/ui';
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
canvasElement | any | ||
defaultProps | static | Partial<Props> | |
renderVisualization | () => JSX.Element |
Methods
Method | Modifiers | Description |
---|---|---|
componentDidMount() | ||
componentDidUpdate() | ||
draw() | ||
render() |
canvasElement property
Signature
canvasElement: any;
defaultProps property
Signature
static defaultProps: Partial<Props>;
renderVisualization property
Signature
renderVisualization: () => JSX.Element;
componentDidMount method
Signature
componentDidMount(): void;
Returns:
void
componentDidUpdate method
Signature
componentDidUpdate(): void;
Returns:
void
draw method
Signature
draw(): void;
Returns:
void
render method
Signature
render(): JSX.Element;
Returns:
JSX.Element