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.
28 lines
692 B
28 lines
692 B
import { TimeSerie, Options } from '@chartwerk/core'; |
|
export declare enum Stat { |
|
CURRENT = "current", |
|
MIN = "min", |
|
MAX = "max", |
|
TOTAL = "total" |
|
} |
|
export declare type Stop = { |
|
color: string; |
|
value: number | null; |
|
}; |
|
export declare type ValueTextFormat = { |
|
decimals: number; |
|
}; |
|
export declare type GaugeTimeSerie = TimeSerie; |
|
export declare type GaugeOptionsParams = { |
|
innerRadius: number; |
|
outerRadius: number; |
|
maxValue: number; |
|
stops: { |
|
color: string; |
|
value: number; |
|
}[]; |
|
defaultColor: string; |
|
stat: Stat; |
|
valueTextFormat: ValueTextFormat; |
|
}; |
|
export declare type GaugeOptions = Options & Partial<GaugeOptionsParams>;
|
|
|