Update minimum chart sizes (#15500)

Update minimum chart sizes
This commit is contained in:
Raphaël Bosi
2025-10-31 21:29:04 +05:30
committed by GitHub
parent bcdc07273e
commit 2d1a89c4c2
@@ -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 },
},
};