kenzzii / mtchart

Automatically exported from code.google.com/p/mtchart
GNU General Public License v3.0
0 stars 0 forks source link

Pie Chart Misalignment #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
"Basic pie charts" generated with mtchart have a misalignment where the
last segment's polygon overlapped the first's by a few (~10 or so) degrees.

The cause of the issue is in how the starting positions of the outer parts
of the segments is calculated leading to an error of up to half a degree
for each segment in the worst case.

The diff used to fix the problem (by using a more accurately calculated
value) is attached. Also, this same situation is probably true for the
other pie chart methods.

Original issue reported on code.google.com by petercow...@gmail.com on 15 Jan 2010 at 12:12

Attachments: