rozetko
4 years ago
3 changed files with 47 additions and 19 deletions
@ -0,0 +1,18 @@ |
|||||||
|
import { TimeSerie, Options } from '@chartwerk/base'; |
||||||
|
|
||||||
|
export enum Stat { |
||||||
|
CURRENT = 'current', |
||||||
|
MIN = 'min', |
||||||
|
MAX = 'max', |
||||||
|
TOTAL = 'total' |
||||||
|
} |
||||||
|
|
||||||
|
export type GaugeTimeSerie = TimeSerie; |
||||||
|
|
||||||
|
export type GaugeOptionsParams = { |
||||||
|
maxValue: number; |
||||||
|
stops: number[]; |
||||||
|
colors: string[]; |
||||||
|
stat: Stat; |
||||||
|
} |
||||||
|
export type GaugeOptions = Options & Partial<GaugeOptionsParams>; |
Loading…
Reference in new issue