fireChangeEvent();
}
@Override
public Range findDomainBounds(XYDataset dataset) {
XYZDataset datazet = (XYZDataset) dataset;
double min = Double.POSITIVE_INFINITY;
double max = Double.NEGATIVE_INFINITY;
double factor = 1.0;
if (this.scaleType == ScaleType.Y_AXIS) {
// the factor will be the y-axis length / x-axis length
}
for (int s = 0; s < dataset.getSeriesCount(); s++) {
if (this.isSeriesVisible(s)) {
for (int i = 0; i < dataset.getItemCount(s); i++) {
double x = dataset.getXValue(s, i);
double z = datazet.getZValue(s, i);
double zAdj = Double.isNaN(z) ? 0.0 : z / 2.0;
double xLow = x - zAdj;
double xHigh = x + zAdj;
if (!Double.isNaN(x)) {
min = Math.min(min, xLow);