File tree Expand file tree Collapse file tree
x-pack/plugins/lens/public Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import { EuiIconLegend } from '../assets/legend';
1111
1212const typeToIconMap : { [ type : string ] : string | IconType } = {
1313 legend : EuiIconLegend as IconType ,
14- values : 'visText' ,
15- numeric : 'number' ,
14+ labels : 'visText' ,
15+ values : 'number' ,
1616} ;
1717
1818export interface ToolbarPopoverProps {
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ export function XyToolbar(props: VisualizationToolbarProps<State>) {
262262 title = { i18n . translate ( 'xpack.lens.xyChart.valuesLabel' , {
263263 defaultMessage : 'Values' ,
264264 } ) }
265- type = "numeric "
265+ type = "values "
266266 groupPosition = "left"
267267 buttonDataTestSubj = "lnsValuesButton"
268268 isDisabled = { ! isValueLabelsEnabled && ! isFittingEnabled }
You can’t perform that action at this time.
0 commit comments