Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #373 from RichardFevrier/master
Browse files Browse the repository at this point in the history
evaluate styles for polar bars
  • Loading branch information
boygirl authored May 11, 2018
2 parents 58cdb69 + 283af17 commit 2868cc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/victory-primitives/bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export default class Bar extends React.Component {
}

getVerticalPolarBarPath(props, cornerRadius) { // eslint-disable-line max-statements
const { datum, scale, style, index, alignment } = props;
const { datum, scale, index, alignment } = props;
const style = Helpers.evaluateStyle(props.style, datum, props.active);
const r1 = scale.y(datum._y0 || 0);
const r2 = scale.y(datum._y1 !== undefined ? datum._y1 : datum._y);
const currentAngle = scale.x(datum._x1 !== undefined ? datum._x1 : datum._x);
Expand Down

0 comments on commit 2868cc1

Please sign in to comment.