mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added some comments about state of components things
This commit is contained in:
parent
71159fb606
commit
af4de51a9a
@ -25,6 +25,9 @@ export interface Props extends Themeable {
|
|||||||
decimals?: number;
|
decimals?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This visualization is still in POC state, needed more tests & better structure
|
||||||
|
*/
|
||||||
export class BarGauge extends PureComponent<Props> {
|
export class BarGauge extends PureComponent<Props> {
|
||||||
static defaultProps: Partial<Props> = {
|
static defaultProps: Partial<Props> = {
|
||||||
maxValue: 100,
|
maxValue: 100,
|
||||||
|
@ -6,6 +6,9 @@ export interface SingleStatProcessingOptions {
|
|||||||
stat: string;
|
stat: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// This is a temporary thing, waiting for a better data model and maybe unification between time series & table data
|
||||||
|
//
|
||||||
export function processSingleStatPanelData(options: SingleStatProcessingOptions): SingleStatValueInfo[] {
|
export function processSingleStatPanelData(options: SingleStatProcessingOptions): SingleStatValueInfo[] {
|
||||||
const { panelData, stat } = options;
|
const { panelData, stat } = options;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user