Skip Menu |

This queue is for tickets about the Tk-Chart CPAN distribution.

Report information
The Basics
Id: 69580
Status: resolved
Priority: 0/
Queue: Tk-Chart

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: possibility to have a pie chart on half a circle
would it be possible in tk::chart::pie to make it draw half a circle instead of a full circle? eg: a set of (25%, 50%, 25%) would mean -180° to -135°, -135° to +45°, +45° to 0°. bottom half would not be drawn (don't know if i'm clear)
Show quoted text
> eg: a set of (25%, 50%, 25%) would mean -180° to -135°, -135° to +45°, > +45° to 0°. bottom half would not be drawn (don't know if i'm clear)
that would be of course: 180-135, 135-45, 45-0
Le Mar 19 Jui 2011 12:31:19, JQUELIN a écrit : Show quoted text
> > eg: a set of (25%, 50%, 25%) would mean -180° to -135°, -135° to +45°, > > +45° to 0°. bottom half would not be drawn (don't know if i'm clear)
> > that would be of course: 180-135, 135-45, 45-0
Dear, Thank you for your suggestion. Actually, Tk::Chart::Pie does not allow to draw a half pie. All data you set are drawn in a full circle. But, I can add an option (e.g -test => degree with 0 < degree < 361 : default 360). Then, if you set -test to 180, the pie will be draw in half circle and will start as you will be define with -startangle. It is ok for you ? Best Regards
New version of Tk::Chart 1.17 now available with new -piesize option available.
On Tue Jul 19 18:07:51 2011, DJIBEL wrote: Show quoted text
> New version of Tk::Chart 1.17 now available with new -piesize option > available.
thank you very much!