[v9.4.x] StatPanel: Fix issue where sparkline chart was not being shown on resize (#64012)

This commit is contained in:
Grot (@grafanabot)
2023-03-02 12:58:48 +01:00
committed by GitHub
parent 4e687dfb6f
commit 3fe53ab222
@@ -415,6 +415,10 @@ export class StackedWithNoChartLayout extends BigValueLayout {
return styles;
}
renderChart(): JSX.Element | null {
return null;
}
getPanelStyles() {
const styles = super.getPanelStyles();
styles.alignItems = 'center';