Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)