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.

30 lines
714 B

4 years ago
import { TimeSerie, Options } from '@chartwerk/core';
4 years ago
export declare enum Stat {
CURRENT = "current",
MIN = "min",
MAX = "max",
TOTAL = "total"
}
4 years ago
export declare type Stop = {
color: string;
value: number | null;
};
4 years ago
export declare type ValueTextFormat = {
decimals: number;
};
4 years ago
export declare type GaugeTimeSerie = TimeSerie;
export declare type GaugeOptionsParams = {
innerRadius: number;
outerRadius: number;
maxValue: number;
4 years ago
minValue: number;
4 years ago
stops: {
color: string;
value: number;
}[];
defaultColor: string;
4 years ago
stat: Stat;
4 years ago
valueTextFormat: ValueTextFormat;
4 years ago
};
export declare type GaugeOptions = Options & Partial<GaugeOptionsParams>;