Hi,
I am using Scatter Plot to plot percentage in y against numbers in x. The percentage typically start from 50% onwards. However the Y axis always start from 0% to Data Maximum.
I want it to have axis range from Data Min. to Data. Maximum.
I have tried setting setAutoRangeIncludesZero(false) but it does not work.
Any suggestions.
Thanks
How to Set Minimum Range for Vertical Axis
Re: How to Set Minimum Range for Vertical Axis
Hi Aloke,
setAutoRangeIncludesZero(false) on the y axis should work, so something must be going wrong. If you can post a small piece of code that creates a sample XYDataset that exhibits the problem, I'll take a look...
Regards,
DG.
setAutoRangeIncludesZero(false) on the y axis should work, so something must be going wrong. If you can post a small piece of code that creates a sample XYDataset that exhibits the problem, I'll take a look...
Regards,
DG.