|
|
|
@ -17,6 +17,7 @@ Sexy python charting
|
|
|
|
|
.. pygal:: 300 200 |
|
|
|
|
|
|
|
|
|
chart = pygal.Line(x_label_rotation=25, fill=True, interpolate='cubic') |
|
|
|
|
chart.title = 'Line Chart with Rotated X Labels, Fill, and Cubic Interpolation' |
|
|
|
|
chart.x_labels = 'one', 'two', 'three', 'four', 'five' |
|
|
|
|
chart.add('alpha', [1, 2, 3, 1, 2]) |
|
|
|
|
chart.add('beta', [4, 3, 0, 1, 2]) |
|
|
|
@ -24,6 +25,7 @@ Sexy python charting
|
|
|
|
|
.. pygal:: 300 200 |
|
|
|
|
|
|
|
|
|
chart = pygal.Pie() |
|
|
|
|
chart.title = 'An Ordinary Pie Chart' |
|
|
|
|
chart.x_labels = 'one', 'two', 'three', 'four', 'five' |
|
|
|
|
chart.add('alpha', [1, 2, 3, 1, 2]) |
|
|
|
|
chart.add('beta', [4, 3, 0, 1, 2]) |
|
|
|
@ -31,6 +33,7 @@ Sexy python charting
|
|
|
|
|
.. pygal:: 300 200 |
|
|
|
|
|
|
|
|
|
chart = pygal.Radar(fill=True) |
|
|
|
|
chart.title = 'Radar Chart with Fill' |
|
|
|
|
chart.x_labels = 'one', 'two', 'three', 'four', 'five' |
|
|
|
|
chart.add('alpha', [1, 2, 3, 1, 2]) |
|
|
|
|
chart.add('beta', [4, 3, 0, 1, 2]) |
|
|
|
|