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.
18 lines
365 B
18 lines
365 B
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>;
|
|
|