Markus Weihs wrote:
> Hi!
>
> I tried your script and got the following error:
>
> Traceback (most recent call last):
> File "pie_chart.py", line 302, in OnPaint
> self.OnDraw()
> File "pie_chart.py", line 336, in OnDraw
> segment.Draw(self.angle, self.rot, self.explode)
>
Those python pie chart add ons are not very useful. For my specific pie
chart, I have some 6-8 items to show up and some of them occupy only
2-5% of the pie. This cause the names and percentages to overlap each
other.
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I tried your script and got the following error:
Traceback (most recent call last):
File "pie_chart.py", line 302, in OnPaint
self.OnDraw()
File "pie_chart.py", line 336, in OnDraw
segment.Draw(self.angle, self.rot, self.explode)
File "pie_chart.py", line 46, in Draw
> "Thierry" == Thierry Lam <[EMAIL PROTECTED]> writes:
Thierry> Let's say I have the following data: 500 objects: -100
Thierry> are red -300 are blue -the rest are green
Thierry> Is there some python package which can represen the above
Thierry> information in a pie chart?
I
If you can wait a week or two, you can use svg and it will work for IE
or Firefox.
--
http://mail.python.org/mailman/listinfo/python-list
PyChart?
--
http://mail.python.org/mailman/listinfo/python-list
Thierry Lam wrote:
> Let's say I have the following data:
>
> 500 objects:
> -100 are red
> -300 are blue
> -the rest are green
>
> Is there some python package which can represen the above information
> in a pie chart?
>
> Thanks
> Thierry
>
What is the user interface context?
Is it a web pa
Thierry Lam wrote:
> In a web browser, having a pie chart in some image format will be great.
here's a variation of jepler's tkinter example, using aggdraw to do the
drawing and PIL to generate the image. tweak as necessary.
# http://effbot.org/zone/draw-agg.htm
from aggdraw import *
# http://
ReportLab Graphics.
-Larry Bates
Thierry Lam wrote:
> Let's say I have the following data:
>
> 500 objects:
> -100 are red
> -300 are blue
> -the rest are green
>
> Is there some python package which can represent the above information
> in a pie chart?
>
> Thanks
> Thierry
>
--
http://mail.
In a web browser, having a pie chart in some image format will be great.
--
http://mail.python.org/mailman/listinfo/python-list
Thierry Lam wrote:
> Let's say I have the following data:
>
> 500 objects:
> -100 are red
> -300 are blue
> -the rest are green
>
> Is there some python package which can represent the above information
> in a pie chart?
on a screen? in a web browser? on a printer?
--
http://mail.python.
There are many.
One choice would be Tkinter's Canvas.
def frac(n): return 360. * n / 500
import Tkinter
c = Tkinter.Canvas(width=100, height=100); c.pack()
c.create_arc((2,2,98,98), fill="red", start=frac(0), extent = frac(100))
c.create_arc((2,2,98,98), fill="blue", start=frac(100), extent = fr
Thierry Lam wrote:
Let's say I have the following data:
500 objects:
-100 are red
-300 are blue
-the rest are green
Is there some python package which can represent the above information
in a pie chart?
I wrote a wxPython control to render pretty 3D pie charts (see attached
piechartwindow.p
Let's say I have the following data:
500 objects:
-100 are red
-300 are blue
-the rest are green
Is there some python package which can represen the above information
in a pie chart?
Thanks
Thierry
--
http://mail.python.org/mailman/listinfo/python-list
Let's say I have the following data:
500 objects:
-100 are red
-300 are blue
-the rest are green
Is there some python package which can represent the above information
in a pie chart?
Thanks
Thierry
--
http://mail.python.org/mailman/listinfo/python-list
15 matches
Mail list logo