Skip to content

Commit

Permalink
Additional padding for x labels without x title
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaono authored and sanjaypojo committed Feb 12, 2018
1 parent 8ba28f0 commit d2cad99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Axis.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ class Axis extends React.Component {
}
}
if (this.props.showXAxis){
this.buffer.bot += 25
this.buffer.bot += 45
if (this.props.xTitle){
this.buffer.bot += 45
this.buffer.bot += 25
}
if (this.props.xStart === "origin") {
this.buffer.right += 25
Expand Down

0 comments on commit d2cad99

Please sign in to comment.