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

Add individual padding vars for donut charts #2529

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

dlabrecq
Copy link
Member

@dlabrecq dlabrecq commented Jul 16, 2019

Added individual padding vars in pf-core for each donut chart. (Currently, the donut charts inherit the pie chart's padding property.) That will ensure changes, to the pie chart padding property, do not inadvertently break donut charts.

Also ensured that the donut size is always the minimum of height / width (default) and the donutHeight / donutWidth props. Thus, eliminating the potential to cause layout issues depending on the order in which properties are set.

Minor clean up to docs, etc.

Fixes #2528

@patternfly-build
Copy link
Contributor

PatternFly-React preview: https://patternfly-react-pr-2529.surge.sh

@dlabrecq dlabrecq force-pushed the 2528-donut-chart-vars branch 8 times, most recently from ba6c561 to b0d05d9 Compare July 17, 2019 15:10
@dlabrecq dlabrecq marked this pull request as ready for review July 17, 2019 15:29
@dlabrecq dlabrecq force-pushed the 2528-donut-chart-vars branch from b0d05d9 to 6f81b28 Compare July 17, 2019 15:41
@dlabrecq dlabrecq force-pushed the 2528-donut-chart-vars branch from 6f81b28 to aefd262 Compare July 17, 2019 21:18
@dlabrecq dlabrecq force-pushed the 2528-donut-chart-vars branch from aefd262 to 6174c09 Compare July 17, 2019 21:28
@jschuler jschuler merged commit 771eee8 into patternfly:master Jul 18, 2019
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

@dlabrecq dlabrecq deleted the 2528-donut-chart-vars branch July 22, 2019 17:43
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.

Add individual padding vars for donut charts
4 participants