From 3fe53ab222604047d833af0a1c5dce16e5d1c364 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 2 Mar 2023 06:58:48 -0500 Subject: [PATCH] [v9.4.x] StatPanel: Fix issue where sparkline chart was not being shown on resize (#64012) --- .../grafana-ui/src/components/BigValue/BigValueLayout.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx b/packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx index d5896cbac07..9d2d38d3970 100644 --- a/packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx +++ b/packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx @@ -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';