Remove ? as header for piechart table legend (#39521) (#39571)

(cherry picked from commit 71122930b9)
This commit is contained in:
Oscar Kilhed
2021-09-23 14:21:31 +02:00
committed by GitHub
parent 53a11de774
commit fa6c44b12a
@@ -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' : '',
});
}