ibrahimsaputra / achartengine

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

Patch for /trunk/achartengine/src/org/achartengine/chart/PieChart.java #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Added radiusCoefficient variable, its getter and setter and handling of it in 
draw method in order to enable scaling Pie Chart.

Original issue reported on code.google.com by woos...@gmail.com on 2 Mar 2011 at 10:23

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Got usable version, added getScaledPieChartView method with additional scale 
parameter, which allows you to scale the pie of the pie chart :)
patch including changes to PieChart.java and ChartFactory.java is included. 
Tested in my application - works like a charm.

Original comment by woos...@gmail.com on 2 Mar 2011 at 11:34

Attachments:

GoogleCodeExporter commented 9 years ago
Well, I cannot break anyone's using the PieChart code by changing the APIs, so 
I had to put these in the DefaultRenderer.
Fixed in SVN, rev. r142.

Original comment by dandrome...@gmail.com on 3 Mar 2011 at 4:49

GoogleCodeExporter commented 9 years ago
it doesn't, it provides just new function, but anyway, good it made through :)

Original comment by woos...@gmail.com on 3 Mar 2011 at 4:55