Skip to content

Commit

Permalink
Fix #43: Don't allow y-axis to overlap ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
openjck committed Mar 29, 2018
1 parent 0cf94e7 commit 0eff4b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/views/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ export default props => {
height={500}
width={props.width}

// Work around this bug:
// https://github.com/metricsgraphics/metrics-graphics/issues/838
left={80}

x_mouseover={dp => dateformat(dp.x, 'mmmm d, yyyy') + ': '}
y_mouseover={dp => dp.y.toLocaleString('en-US', { maximumSignificantDigits: yRolloverSignificantDigits }) + yUnitString}

Expand Down

0 comments on commit 0eff4b8

Please sign in to comment.