Hi,David
The VerticalNumberAxis.setMaximumAxisValue() and VerticalNumberAxis.setMinimumAxisValue() has no effect when you create OverlaidChart.
Here is sample from JFreeChartDemo:
private void displayOverlaidChart()
{
................................
NumberAxis valueAxis = new VerticalNumberAxis(yAxisLabel);
valueAxis.setAutoRange(false);
valueAxis.setMaximumAxisValue(100.0);
valueAxis.setMinimumAxisValue(50.0);
............................
}
I also tried valueAxis.setAxisRange(50.0,100.0), but still no effect.
Looks like it always: valueAxis.setAutoRange(true);
NumberAxis
Re: NumberAxis
Hi Dennis,
Thanks for the report. I'll take a look...but the overlaid plot classes were written by another developer, so it might take me some time to spot the problem.
Regards,
DG.
Thanks for the report. I'll take a look...but the overlaid plot classes were written by another developer, so it might take me some time to spot the problem.
Regards,
DG.