Y yuhong Member Licensed User Longtime User Jun 10, 2014 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Jun 10, 2014 #2 Hi,Erel. Click to expand... 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? Upvote 0
Hi,Erel. Click to expand... 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?
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #3 Erel said: 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? Click to expand... 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
Erel said: 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? Click to expand... 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:
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #4 This is the project, Need to carefully to see different,thanks,again : Attachments Charts.zip 393 KB · Views: 190 Upvote 0
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #5 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
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)
tufanv Expert Licensed User Longtime User Jun 11, 2014 #6 You can use googlecharts for this. Upvote 0
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #7 tufanv said: You can use googlecharts for this. Click to expand... Thank you,tufanv. I want creat the chart on the device, rather than through network. Upvote 0
tufanv said: You can use googlecharts for this. Click to expand... Thank you,tufanv. I want creat the chart on the device, rather than through network.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2014 #8 I understand the issue. I don't think that it is possible to antialias the clip boundaries. You can probably remove the clipping and use DrawArc instead: http://www.b4x.com/android/forum/threads/half-of-a-circle.29302/#post-170109 Upvote 0
I understand the issue. I don't think that it is possible to antialias the clip boundaries. You can probably remove the clipping and use DrawArc instead: http://www.b4x.com/android/forum/threads/half-of-a-circle.29302/#post-170109
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #9 Erel said: I understand the issue. I don't think that it is possible to antialias the clip boundaries. You can probably remove the clipping and use DrawArc instead: http://www.b4x.com/android/forum/threads/half-of-a-circle.29302/#post-170109 Click to expand... That's just what I wanted! Thank you so much ,Erel. I will copy this result to the "Android Charts Framework". Upvote 0
Erel said: I understand the issue. I don't think that it is possible to antialias the clip boundaries. You can probably remove the clipping and use DrawArc instead: http://www.b4x.com/android/forum/threads/half-of-a-circle.29302/#post-170109 Click to expand... That's just what I wanted! Thank you so much ,Erel. I will copy this result to the "Android Charts Framework".
Y yuhong Member Licensed User Longtime User Jun 11, 2014 #10 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
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.