
however if i do "auto range -> range (or both) axes" It looks like this:

auto range on the domain axis works great.
I'm setting the high and low values for the vertical/range axis to just a bit outside what's needed for the dataset:
Code: Select all
NumberAxis ya = (NumberAxis) chart.getXYPlot().getRangeAxis();
double low = dataset.getLow() - .01;
double high = dataset.getHigh() + .01;
ya.setRange(low , high);
Thanks...