ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Kindly add support for setting start angle in pie chart #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have a feature request. Currently, first value in pie chart starts at 3 
o'clock.

For my app, I would like the first value in the pie chart to start at 12 
o'clock.

At first glance, it would seem like this can be added by creating a renderer 
property "startAngle", and then in PieChart.java line 77 setting the 
currentAngle to renderer.getStartAngle() instead of 0.

What do you think?

Best regards,

Gaston

Original issue reported on code.google.com by gdass...@gmail.com on 6 Sep 2011 at 4:09

GoogleCodeExporter commented 9 years ago
The attached patch seems to do the trick for PieChart and DoughnutChart. Could 
this be integrated in the main distribution?
Cheers,
Gaston

Original comment by gdass...@gmail.com on 23 Sep 2011 at 6:48

Attachments:

GoogleCodeExporter commented 9 years ago
I am also interested in this feature. Has the patch been included in the next 
release? Can i use a nightly build to test this?

Thanks so much for an awesome product.
Dirk

Original comment by dirk.ler...@afrozaar.com on 18 Oct 2011 at 7:18

GoogleCodeExporter commented 9 years ago
This patch unfortunately doesn't work with 0.7...  can anyone release an 
updated version, or can it be incorporated into the next release?

Original comment by lifecont...@gmail.com on 19 Oct 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Hi lifecontrolsoftware.

I have made the patch against the latest version in repository. Could you try 
that?

Best regards,

Gaston

Original comment by gdass...@gmail.com on 21 Oct 2011 at 9:16

GoogleCodeExporter commented 9 years ago
Available in SVN rev. r315.
Great contribution. Thanks!

Original comment by dandrome...@gmail.com on 26 Oct 2011 at 5:19

GoogleCodeExporter commented 9 years ago
Unfortunately, my app isn't using the source code, only the library, so will 
probably have to implement this patch a bit later on.  Will it be included in 
the next .jar release?

Original comment by lifecont...@gmail.com on 8 Nov 2011 at 2:33

GoogleCodeExporter commented 9 years ago
Hi Dandrome,
Any idea when a new binary including this fix be released?
Thanks in advance,
Gaston

Original comment by gdass...@gmail.com on 22 Dec 2011 at 7:36