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

Added printable percent values for a series. #335

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

Conversation

ConnorMooreLUC
Copy link

My group found out that values can already be printed atop bar graphs, but added functionality to print the percentage of a series total. This closes #214.

ConnorMooreLUC and others added 30 commits July 14, 2016 17:50
Added the clockwise gauge changes from niosega
Added the clockwise gauge changes from niosega
Revert "Added the clockwise gauge changes from niosega"
Revert "Added the clockwise gauge changes from niosega"
Revert "Revert "Added the clockwise gauge changes from niosega""
Conflicts:
	pygal/test/test_gauge.py
Except too broad fixed
… the bar module as an idea as how we might get it to print the values, also tried to write a test that would only pass if we get it to print out in test_bar but I couldn't get it to recognise the print_values **kwarg. Everything I did is commmented out to make sure I didn't break the code
	modified:   pygal/config.py
	modified:   pygal/graph/bar.py
	modified:   pygal/graph/graph.py
	modified:   pygal/test/test_bar.py
	modified:   pygal/view.py
Conflicts:
	pygal/graph/bar.py
 a comparison to to differentiate between print values, and print percent.
Fixed the printing a little bit.
@paradoxxxzero
Copy link
Member

Thanks for your hard work!

I won't merge this PR as is for several reasons:

  • The code style is not respected, see the output of py.test pygal/ --flake8 -m flake8
  • More importantly this PR breaks 590 tests py.test pygal/

If you address these problems I will gladly merge your work.

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.

display values on top of every bar chart
3 participants