Y axis display

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jonathan Edwards
Posts: 1
Joined: Thu Dec 08, 2005 11:10 am

Y axis display

Post by Jonathan Edwards » Wed Jun 28, 2006 9:20 am

Based on the data received from a user, the y axis will display a range of 1-5. If the user has not scored 5 on any particular area the graph or y axis will only display the highest value, ie 4. I need the y axis to display a range of 1 to 5 irrespective of the highest rating given by the user.

Can you help?

Many Thanks
Jonathan Edwards
Je design

pmarsollier
Posts: 49
Joined: Thu Jul 08, 2004 8:54 am
Location: France

Post by pmarsollier » Wed Jun 28, 2006 10:41 am

use the axis.setRange() fonction

Locked