I am using JFreeChart in a project here and it's going very well. I have a strong request from management to make the pie charts' draw slices starting at 12:00 o'clock (0 degrees) and proceed clockwise from there.
Is there currently any way to control this, or do I have to dive into the source myself?
Also, any plans for 3D pie charts? (just curious)
-Best Regards,
Ray Mercer
Yokohama, Japan
PieChart Wedges don't begin at 12:00 o'clock
Re: PieChart Wedges don't begin at 12:00 o'clock
Hi Ray,
There's no way to control it at present...if I recall correctly, the sections start at three o'clock and proceed anti-clockwise. It would be good to add an attribute to control the starting point and another to control the direction, neither should be difficult.
A developer sent me a 3D pie plot implementation just today...I've committed it to CVS if you want to try it out. A couple of things I noticed with it...the labels need to be positioned differently, and the pie could do with being slanted back to get a better 3D effect (plus a different color shade around the outside might help). But it is a good starting point.
Regards,
DG.
There's no way to control it at present...if I recall correctly, the sections start at three o'clock and proceed anti-clockwise. It would be good to add an attribute to control the starting point and another to control the direction, neither should be difficult.
A developer sent me a 3D pie plot implementation just today...I've committed it to CVS if you want to try it out. A couple of things I noticed with it...the labels need to be positioned differently, and the pie could do with being slanted back to get a better 3D effect (plus a different color shade around the outside might help). But it is a good starting point.
Regards,
DG.
Re: PieChart Wedges don't begin at 12:00 o'clock
David Gilbert wrote:
> It would be good to add an attribute to
> control the starting point and another to control the
> direction, neither should be difficult.
This change has now been committed to CVS and will be included in 0.9.2 when it is released.
Regards,
DG.
> It would be good to add an attribute to
> control the starting point and another to control the
> direction, neither should be difficult.
This change has now been committed to CVS and will be included in 0.9.2 when it is released.
Regards,
DG.
Re: PieChart Wedges don't begin at 12:00 o'clock
David Gilbert wrote:
>> It would be good to add an attribute to
>> control the starting point and another to control the
>> direction, neither should be difficult.
>This change has now been committed to CVS and will be included in 0.9.2 when it is released.
That is excellent! Thanks so much!!
-Ray
>> It would be good to add an attribute to
>> control the starting point and another to control the
>> direction, neither should be difficult.
>This change has now been committed to CVS and will be included in 0.9.2 when it is released.
That is excellent! Thanks so much!!
-Ray