Skip to content

Commit

Permalink
fix: don't show HorizontalAxisZeroLine on log axis
Browse files Browse the repository at this point in the history
fixes #2715
  • Loading branch information
marcelgerber committed Oct 16, 2023
1 parent f6b9fe2 commit 2a1802e
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,12 @@ export class DiscreteBarChart

return result
})}
<HorizontalAxisZeroLine
horizontalAxis={yAxis}
bounds={innerBounds}
/>
{!this.isLogScale && (
<HorizontalAxisZeroLine
horizontalAxis={yAxis}
bounds={innerBounds}
/>
)}
</g>
)
}
Expand Down

0 comments on commit 2a1802e

Please sign in to comment.