Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(barRatio): apply barRation to single bar #1061

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

40x
Copy link

@40x 40x commented Jul 26, 2018

fixes #1054

Copy link
Contributor

@boygirl boygirl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix! I will merge this work with the recommended naming change.

@@ -32,7 +32,8 @@ export default class Bar extends React.Component {
};

static defaultProps = {
pathComponent: <Path/>
pathComponent: <Path/>,
barWidth: 8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nitpick, but could you rename this prop defaultBarWidth?

@40x
Copy link
Author

40x commented Jul 26, 2018

@boygirl done and squashed!

@boygirl
Copy link
Contributor

boygirl commented Jul 28, 2018

@40x thanks! I'm merging this now, and will release it before Monday.

@boygirl boygirl merged commit 2b3b0ef into FormidableLabs:master Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VictoryBar displays thin bar if only a single data point is present
2 participants