Skip to content

Commit

Permalink
[xy-chart][lint] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Nov 14, 2017
1 parent 08dfaeb commit 2ff57f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xy-chart/src/chart/XYChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class XYChart extends React.PureComponent {
rangeRound: [0, innerWidth],
paddingOuter: 1,
});

const offset = dummyBand.bandwidth() / 2;
xScale.range([offset, innerWidth - offset]);
xScale.barWidth = dummyBand.bandwidth();
Expand Down

0 comments on commit 2ff57f1

Please sign in to comment.