Android Question Drawed a Pie Chart

yuhong

Member
Licensed User
Longtime User
Hi,Erel.

I drawed a Pie Chart with chart moudle,but the boundary wasn't smoothly.Then i setting the antialias flag of the canvas,the circle line was better,but the straight line was no change.
How can i solve this question?

I'm sorry for my English.
 

yuhong

Member
Licensed User
Longtime User
This is a community forum. It is better not to limit your questions to a single member.

Can you post a screenshot of the chart?
I'm sorry asking for help only to you.At first,i want add this question to the " Android Charts Framework"...

This is the screenshot:
 

Attachments

  • no_antialias.png
    31.6 KB · Views: 193
  • antialias.png
    31.9 KB · Views: 201
Upvote 0

yuhong

Member
Licensed User
Longtime User
This is the project, Need to carefully to see different,thanks,again :
 

Attachments

  • Charts.zip
    393 KB · Views: 190
Upvote 0

yuhong

Member
Licensed User
Longtime User
I'm test again and again,then found the "Path" boundary wasn't smoothly.

I don't know how to solve that.

Can anyone give me some help?(I'm sorry for my English again)
 
Upvote 0

yuhong

Member
Licensed User
Longtime User
Share(thanks for Erel's help):

1.Setting the antialias flag of the canvas.

2.Remove the clipping and use DrawArc instead for pie chart(need ABExtDrawings library).

Make Line charts and Pie charts show more smoothly( boundaries).

Charts moudle add two subs.
 

Attachments

  • Charts.zip
    458.8 KB · Views: 251
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…