FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add individual padding vars for donut charts by dlabrecq · Pull Request #2529 · patternfly/patternfly-react · GitHub

Add individual padding vars for donut charts - #2529

Merged
jschuler merged 1 commit into
patternfly:masterfrom
dlabrecq:2528-donut-chart-vars
Jul 18, 2019
Merged

Add individual padding vars for donut charts#2529
jschuler merged 1 commit into
patternfly:masterfrom
dlabrecq:2528-donut-chart-vars

Conversation

dlabrecq commented Jul 16, 2019
edited
Loading

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Collaborator

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

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

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/react-charts@4.6.4

Thanks for your contribution! 🎉

dlabrecq deleted the 2528-donut-chart-vars branch July 22, 2019 17:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL