@@ -7,7 +7,7 @@ type WidgetSizeConfig = {
|
||||
|
||||
export const WIDGET_SIZES: Record<GraphType, WidgetSizeConfig> = {
|
||||
[GraphType.AGGREGATE]: {
|
||||
default: { w: 3, h: 2 },
|
||||
default: { w: 2, h: 2 },
|
||||
minimum: { w: 2, h: 2 },
|
||||
},
|
||||
[GraphType.GAUGE]: {
|
||||
@@ -20,14 +20,14 @@ export const WIDGET_SIZES: Record<GraphType, WidgetSizeConfig> = {
|
||||
},
|
||||
[GraphType.VERTICAL_BAR]: {
|
||||
default: { w: 6, h: 6 },
|
||||
minimum: { w: 5, h: 5 },
|
||||
minimum: { w: 4, h: 4 },
|
||||
},
|
||||
[GraphType.HORIZONTAL_BAR]: {
|
||||
default: { w: 6, h: 6 },
|
||||
minimum: { w: 5, h: 5 },
|
||||
minimum: { w: 4, h: 4 },
|
||||
},
|
||||
[GraphType.LINE]: {
|
||||
default: { w: 6, h: 10 },
|
||||
minimum: { w: 5, h: 5 },
|
||||
minimum: { w: 4, h: 4 },
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user