From 71122930b916c0923b2160f2fd108a4c046827be Mon Sep 17 00:00:00 2001 From: Oscar Kilhed Date: Thu, 23 Sep 2021 10:41:35 +0200 Subject: [PATCH] Remove ? as header for piechart table legend (#39521) --- public/app/plugins/panel/piechart/PieChartPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/panel/piechart/PieChartPanel.tsx b/public/app/plugins/panel/piechart/PieChartPanel.tsx index 8e93d529262..b8e87a8cd72 100644 --- a/public/app/plugins/panel/piechart/PieChartPanel.tsx +++ b/public/app/plugins/panel/piechart/PieChartPanel.tsx @@ -124,7 +124,7 @@ function getLegend(props: Props, displayValues: FieldDisplay[]) { hidden || isNaN(fractionOfTotal) ? props.fieldConfig.defaults.noValue ?? '-' : percentOfTotal.toFixed(0) + '%', - title: valuesToShow.length > 1 ? 'Percent' : undefined, + title: valuesToShow.length > 1 ? 'Percent' : '', }); }