feat: add widget and standard config

This commit is contained in:
Qiuxia Fan
2022-01-12 15:15:16 +08:00
parent 16085bb56f
commit 8e0bf6357e
6 changed files with 99 additions and 31 deletions

View File

@@ -39,9 +39,15 @@ export interface StandardConfig {
unit?: string;
max?: string;
min?: string;
plus: string;
minus: string;
multiply: string;
divide: string;
milliseconds: string;
seconds: string;
}
type GraphConfig = BarConfig | LineConfig;
export type GraphConfig = BarConfig | LineConfig;
export interface BarConfig {
type?: string;
showBackground?: boolean;