Skip to content

Commit

Permalink
🐛 Fix label on horizontal chart for axis (#113452)
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Sep 30, 2021
1 parent bbf3d4b commit 3bd687e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export function getAxisName(
defaultMessage: 'Horizontal bottom axis',
});
if (axis === 'yLeft') {
return isHorizontal ? horizontalTop : verticalLeft;
return isHorizontal ? horizontalBottom : verticalLeft;
}
return isHorizontal ? horizontalBottom : verticalRight;
return isHorizontal ? horizontalTop : verticalRight;
}

// min requirement for the bug:
Expand Down

0 comments on commit 3bd687e

Please sign in to comment.