Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/garden.pizza
Kivy Pizza
https://github.com/kivy-garden/garden.pizza
Last synced: about 1 month ago
JSON representation
Kivy Pizza
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.pizza
- Owner: kivy-garden
- License: bsd-3-clause
- Created: 2013-12-29T21:09:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-09T13:57:12.000Z (almost 8 years ago)
- Last Synced: 2023-03-30T18:26:46.389Z (over 1 year ago)
- Language: Python
- Size: 23.4 KB
- Stars: 10
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
garden.pizza
============The class Pizza draws a pizza chart.
serie, chart_size, legend_color, legend_title_rayon, legend_value_rayon and
chart_border are properties, they could be changed dynamically.Example ::
pie = Pizza(serie=[
["Français", 5, 'a9a9a9'],
["Belge", 25, '808080'],
["Anglais", 20, '696969'],
["Allemand", 30, '778899'],
["Italien", 20, '708090']],
chart_size=256,
legend_color='ffffcc',
legend_value_rayon=100,
legend_title_rayon=160,
chart_border=2)