JFreeChart Ugly Rounding Error?
- by billynomates
Using series.add(180, 1); produces a perfectly valid chart like this (little red dot at the bottom with some PolarItemRenderer Mods!)
but using series.add(3000/(6000/360), 1); produces this beast:
I assume it's because somewhere, 6000/360 = 16.6... is getting rounded? How can I stop this happening? Thanks :)