Skip to content

Commit

Permalink
fix: remove rounding of x-axis location
Browse files Browse the repository at this point in the history
  • Loading branch information
somguyth authored and markmcdowell committed Jul 19, 2021
1 parent 7944b2d commit 64e893f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/series/src/BarSeries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class BarSeries extends React.Component<BarSeriesProps> {
}

const xValue = xAccessor(d);
const x = Math.round(xScale(xValue)) - offset;
const x = xScale(xValue) - offset;

let y = yScale(yValue);

Expand Down

0 comments on commit 64e893f

Please sign in to comment.