feat: add Tab on the dashboard

This commit is contained in:
Qiuxia Fan
2022-01-07 15:19:30 +08:00
parent edda37078a
commit 59ea77d65c
13 changed files with 201 additions and 105 deletions

View File

@@ -20,12 +20,13 @@ export interface LayoutConfig {
w: number;
h: number;
i: string;
widget?: WidgetConfig;
graph?: GraphConfig;
standard?: StandardConfig;
widget: WidgetConfig;
graph: GraphConfig;
standard: StandardConfig;
metrics?: string[];
chart?: string;
type?: string;
queryMetricType?: string;
children?: any[];
}
export interface WidgetConfig {
@@ -34,6 +35,7 @@ export interface WidgetConfig {
}
export interface GraphConfig {
type?: string;
showBackground?: boolean;
barWidth?: number;
}