StatPanel: Fix issue where sparkline chart was not being shown on resize (#63942)

This commit is contained in:
Joao Silva
2023-03-02 12:00:40 +01:00
committed by GitHub
parent 9e2e569708
commit afd5f41780

View File

@@ -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';