Skip to content

Commit bafe9df

Browse files
authored
[Lens] Distinct icons for XY and pie chart value labels toolbar (#82927)
1 parent f193d9c commit bafe9df

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

x-pack/plugins/lens/public/pie_visualization/toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function PieToolbar(props: VisualizationToolbarProps<PieVisualizationStat
125125
title={i18n.translate('xpack.lens.pieChart.valuesLabel', {
126126
defaultMessage: 'Labels',
127127
})}
128-
type="values"
128+
type="labels"
129129
groupPosition="left"
130130
buttonDataTestSubj="lnsLabelsButton"
131131
>

x-pack/plugins/lens/public/shared_components/toolbar_popover.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { EuiIconLegend } from '../assets/legend';
1111

1212
const typeToIconMap: { [type: string]: string | IconType } = {
1313
legend: EuiIconLegend as IconType,
14+
labels: 'visText',
1415
values: 'number',
1516
};
1617

0 commit comments

Comments
 (0)