hochileo / achartengine

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

Gradient for PieChart #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a pie chart using DefaultRenderer, SimpleSeriesRenderer, 
CategorySeries and Chartfacgtory.
2. For one or more pie slices, enable Gradient for the respective 
SeriesRenderer object, and then set gradient start and top values and colors.
3.

What is the expected output? What do you see instead?
I am hoping to make the pie chart have a gradient color from center to 
periphery for every slice. This gives the chart a cooler look. Several 
commercial pie charts offer this feature. Instead I see a flat color for the 
entire slice.

Please provide a source code snippet that we can use to replicate the issue.

What version of the product binary library are you using?
1.0.0

Please provide any additional information below.

Original issue reported on code.google.com by pritesh....@gmail.com on 10 Apr 2012 at 9:03

GoogleCodeExporter commented 9 years ago
This would be a very useful feature. Right now i use achartengine version 1.0.0 
and I tried to set a gradient for pie chart similar like it was in 
RangeBarChart in Demo, but without a success...

Original comment by tonia.tk...@gmail.com on 26 Apr 2012 at 12:43

GoogleCodeExporter commented 9 years ago
I did up a basic patch for this. Find attached.

Original comment by stephen....@gmail.com on 23 Oct 2012 at 3:16

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in SVN.
Thanks for the awesome contribution.

Original comment by dandrome...@gmail.com on 9 Jan 2013 at 11:02