chart NumberAxis problem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
paololim
Posts: 11
Joined: Tue Jul 17, 2007 3:08 pm
Location: Hopewell Junction, NY

chart NumberAxis problem

Post by paololim » Thu Aug 30, 2007 5:39 pm

I'm getting a weird error on my NumberAxis. Lets say if all the numbers in the input dataset are the same, and I try to standardize my NumberAxis, then this happens. What am I doing wrong, and how can I fix it? In this case, the input to the dataset is a List of Double values all equal to 100.

Code: Select all

NumberAxis axis;
.......
.......
axis.setStandardTickUnits(new StandardTickUnitSource());
Image
Image

Locked