Skip to content

Commit

Permalink
[Lens] displays custom bounds error for right axis when lower bound i…
Browse files Browse the repository at this point in the history
…s above 0 (#124037)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
stratoula and kibanamachine authored Jan 31, 2022
1 parent 702bd9b commit 7afae17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export const XyToolbar = memo(function XyToolbar(
);
const hasBarOrAreaOnRightAxis = Boolean(
axisGroups
.find((group) => group.groupId === 'left')
.find((group) => group.groupId === 'right')
?.series?.some((series) => {
const seriesType = state.layers.find((l) => l.layerId === series.layer)?.seriesType;
return seriesType?.includes('bar') || seriesType?.includes('area');
Expand Down

0 comments on commit 7afae17

Please sign in to comment.