Skip to content

Commit

Permalink
[Lens] Distinct icons for XY and pie chart value labels toolbar (#82927)
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Nov 10, 2020
1 parent f193d9c commit bafe9df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/lens/public/pie_visualization/toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { EuiIconLegend } from '../assets/legend';

const typeToIconMap: { [type: string]: string | IconType } = {
legend: EuiIconLegend as IconType,
labels: 'visText',
values: 'number',
};

Expand Down

0 comments on commit bafe9df

Please sign in to comment.