// Libraries import React, { PureComponent } from 'react'; // Services & Utils import { config } from 'app/core/config'; // Components import { Gauge } from '@grafana/ui'; // Types import { GaugeOptions } from './types'; import { DisplayValue, PanelProps } from '@grafana/ui'; import { getSingleStatValues } from '../singlestat2/SingleStatPanel'; import { ProcessedValuesRepeater } from '../singlestat2/ProcessedValuesRepeater'; export class GaugePanel extends PureComponent> { renderValue = (value: DisplayValue, width: number, height: number): JSX.Element => { const { options } = this.props; return ( ); }; getProcessedValues = (): DisplayValue[] => { return getSingleStatValues(this.props); }; render() { const { height, width, options, panelData } = this.props; const { orientation } = options; return ( ); } }