mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: update config
This commit is contained in:
@@ -30,14 +30,8 @@ export interface LayoutConfig {
|
||||
}
|
||||
|
||||
export interface WidgetConfig {
|
||||
title?: string;
|
||||
tips?: string;
|
||||
}
|
||||
|
||||
export interface GraphConfig {
|
||||
type?: string;
|
||||
showBackground?: boolean;
|
||||
barWidth?: number;
|
||||
title: string;
|
||||
tips: string;
|
||||
}
|
||||
|
||||
export interface StandardConfig {
|
||||
@@ -46,3 +40,15 @@ export interface StandardConfig {
|
||||
max?: string;
|
||||
min?: string;
|
||||
}
|
||||
|
||||
export type GraphConfig = BarConfig | LineConfig;
|
||||
interface BarConfig {
|
||||
type?: string;
|
||||
showBackground?: boolean;
|
||||
barWidth?: number;
|
||||
}
|
||||
interface LineConfig {
|
||||
type?: string;
|
||||
showBackground?: boolean;
|
||||
barWidth?: number;
|
||||
}
|
||||
|
Reference in New Issue
Block a user