[Lens] Distinct icons for XY and pie chart value labels toolbar (#82927)

This commit is contained in:
Marco Liberati 2020-11-10 10:05:32 +01:00 committed by GitHub
parent f193d9c962
commit bafe9dfea1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -125,7 +125,7 @@ export function PieToolbar(props: VisualizationToolbarProps<PieVisualizationStat
title={i18n.translate('xpack.lens.pieChart.valuesLabel', {
defaultMessage: 'Labels',
})}
type="values"
type="labels"
groupPosition="left"
buttonDataTestSubj="lnsLabelsButton"
>

View file

@ -11,6 +11,7 @@ import { EuiIconLegend } from '../assets/legend';
const typeToIconMap: { [type: string]: string | IconType } = {
legend: EuiIconLegend as IconType,
labels: 'visText',
values: 'number',
};