[Lens] Distinct icons for XY and pie chart value labels toolbar (#82927)
This commit is contained in:
parent
f193d9c962
commit
bafe9dfea1
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -11,6 +11,7 @@ import { EuiIconLegend } from '../assets/legend';
|
|||
|
||||
const typeToIconMap: { [type: string]: string | IconType } = {
|
||||
legend: EuiIconLegend as IconType,
|
||||
labels: 'visText',
|
||||
values: 'number',
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue