178179180181182183184185186187188
this.totalWeight += weight; // configure the range axis... ValueAxis axis = getRangeAxis(); if (axis != null) { axis.configure(); } notifyListeners(new PlotChangeEvent(this)); } /**
209210211212213214215216217218219
subplot.removeChangeListener(this); this.totalWeight -= subplot.getWeight(); ValueAxis range = getRangeAxis(); if (range != null) { range.configure(); } ValueAxis range2 = getRangeAxis(1); if (range2 != null) { range2.configure();
214215216217218219220221222223224
range.configure(); } ValueAxis range2 = getRangeAxis(1); if (range2 != null) { range2.configure(); } notifyListeners(new PlotChangeEvent(this)); } }
533534535536537538539540541542543
// after setting up all the subplots, the shared range axis may need // reconfiguring ValueAxis rangeAxis = result.getRangeAxis(); if (rangeAxis != null) { rangeAxis.configure(); } return result; }
556557558559560561562563564565566
// the range axis is deserialized before the subplots, so its value // range is likely to be incorrect... ValueAxis rangeAxis = getRangeAxis(); if (rangeAxis != null) { rangeAxis.configure(); } } }