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

Donut chart size calculation improvements #982

Merged
merged 4 commits into from
Sep 27, 2018
Merged

Donut chart size calculation improvements #982

merged 4 commits into from
Sep 27, 2018

Conversation

bjoernricks
Copy link
Contributor

No description provided.

By default this ratio is 0 now so we get a pie chart instead of a donut
chart.
In this case all four margins have been set to 20 pixels thus there is
no difference in the outcome but this may change in future.
Don't allow to stretch a donut vertically and always use same size for
height and width for 2d donut charts.
@codecov
Copy link

codecov bot commented Sep 27, 2018

Codecov Report

Merging #982 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #982      +/-   ##
=========================================
- Coverage    9.11%   9.11%   -0.01%     
=========================================
  Files         818     818              
  Lines       26678   26682       +4     
  Branches     5702    5731      +29     
=========================================
  Hits         2432    2432              
- Misses      21899   21900       +1     
- Partials     2347    2350       +3
Impacted Files Coverage Δ
gsa/src/web/components/chart/donut.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1f49d5...6475b8d. Read the comment docs.

@swaterkamp swaterkamp merged commit 95e9a22 into greenbone:master Sep 27, 2018
@bjoernricks bjoernricks deleted the donut-chart branch October 1, 2018 10:46
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.

2 participants