NumberAxis nAxis = (NumberAxis) dAxis;
if (lowerDomainValN != upperDomainValN) {
nAxis.setRange(lowerDomainValN, upperDomainValN);
}
if (! Double.isNaN(anchorValueD))
nAxis.centerRange(anchorValueD);
}
} else if (plot instanceof CategoryPlot) {
CategoryPlot catPlot = (CategoryPlot) plot;
NumberAxis axis = (NumberAxis) catPlot.getRangeAxis();
axis.setLowerBound(lowerRangeVal);