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.
 
 

24 lines
589 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 GaugeTimeSerie = TimeSerie;
export declare type GaugeOptionsParams = {
innerRadius: number;
outerRadius: number;
maxValue: number;
stops: {
color: string;
value: number;
}[];
defaultColor: string;
stat: Stat;
};
export declare type GaugeOptions = Options & Partial<GaugeOptionsParams>;