-
Enhancement
-
Resolution: Fixed
-
P4
-
1.1.2
-
None
-
1.2beta1
-
x86
-
windows_95
-
Not verified
Name: tb29552 Date: 06/17/97
The graphics.drawArc() and graphics.fillArc()
methods only accept degrees (which are integer values).
These methods do not accept the more precise radian
values which have decimal points.
Therefore it is impossible to draw a pie with, say 100
exactly equal slices, because each slice can only
be 3degrees (not 3.6 degrees as is required). Thus
we end up with a pie that spans only 300 degrees in
total, rather than 360 degrees as we require to draw
a proper circular pie chart. This problem occurs whenever
rounding of degrees is necessary to draw an Arc (pie slice)
in a pie chart.
company - Honours Student - University of Cape Town , email - ###@###.###
======================================================================