ballinascreen Posted June 18, 2012 Share Posted June 18, 2012 Folks,I'm trying to plot data on a simple line chart - lets assume I'm trying to plot the following values:960, 1010, 1200, 1110, 890By default, I do not specify a Range Axis Min/Max Value Expression - I had assumed that if a value were not specified then by default the min/max values for the Range axis would be set to the min/max values of the data being plotted (i.e. 890, 1200) however it seems that it assumes the minimum Range Axis value is 0 (if none is specified)- therefore not making efficient use of the available chart area when many of the values are similar and much greater than 0. If I manually set the Range Axis Min Value expression (i.e. new Integer(890)) then the output scales as I would expect.Is there any way to tell Jasper Reports to autofit/autoscale the Range Axis based on the min/max values of the data being plotted? I can't hardcode a specific min/max value since I don't know what the min/max values are until the user runs the report? Am I missing something obvious? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now