You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { TimeSerie, Options } from '@chartwerk/base';
|
|
|
|
|
|
|
|
export enum Stat {
|
|
|
|
CURRENT = 'current',
|
|
|
|
MIN = 'min',
|
|
|
|
MAX = 'max',
|
|
|
|
TOTAL = 'total'
|
|
|
|
}
|
|
|
|
|
|
|
|
export type GaugeTimeSerie = TimeSerie;
|
|
|
|
|
|
|
|
export type GaugeOptionsParams = {
|
|
|
|
innerRadius: number;
|
|
|
|
outerRadius: number;
|
|
|
|
// TODO: minValue
|
|
|
|
maxValue: number;
|
|
|
|
stops: number[];
|
|
|
|
colors: string[];
|
|
|
|
stat: Stat;
|
|
|
|
}
|
|
|
|
export type GaugeOptions = Options & Partial<GaugeOptionsParams>;
|