Hello,
I'm trying to set the range to 10-60 on my graph. However, if the values go over 60 or under 10, I'd like the range to resize to accommodate that. I've been playing with different options, but couldn't get it to work. Any ideas on how to do that?
Thanks a lot!
AR
Newbie question: scaling the range
You'll need to iterate through your data, get your minimum and maximum values, see if they go outside your 10-60 range.
If min-value > 10, call rangeAxis.setLowerBound(10)
If max-value < 60, call rangeAxis.setUpperBound(60)
I don't know what sort of data you are plotting, but it may also be wise to make sure that if min-value < 10 that you also check to see if max-value < 10 (and vice versa)
If min-value > 10, call rangeAxis.setLowerBound(10)
If max-value < 60, call rangeAxis.setUpperBound(60)
I don't know what sort of data you are plotting, but it may also be wise to make sure that if min-value < 10 that you also check to see if max-value < 10 (and vice versa)
Gap between the range axis(Y axis) and first data point
Hi joolz,
I am also getting the same type of problem
I am using area chart with category data set
I getting a space between the range axis and the first data set.
Can i get help from you, to avoid the space between the axis and the data point
Thanks and Regards
Vaji
I am also getting the same type of problem
I am using area chart with category data set
I getting a space between the range axis and the first data set.
Can i get help from you, to avoid the space between the axis and the data point
Thanks and Regards
Vaji