Skip to content

Commit

Permalink
[7.x] [Lens] Distinct icons for XY and pie chart value labels toolbar (
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Nov 10, 2020
1 parent 6a2d6b1 commit 33fdc42
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 33fdc42

Please sign in to comment.