Use min model for max and vice versa
This commit is contained in:
parent
583890a6b8
commit
e2d07be481
@ -211,9 +211,9 @@ public class ComponentAnalysisPlotExportDialog extends JDialog {
|
|||||||
if (type == null) {
|
if (type == null) {
|
||||||
throw new IllegalArgumentException("CADomainDataType cannot be null");
|
throw new IllegalArgumentException("CADomainDataType cannot be null");
|
||||||
}
|
}
|
||||||
// TODO: use the maxModel for the max value of minModel and vice versa?
|
|
||||||
this.minModel = new DoubleModel(type, "Min", 0);
|
this.minModel = new DoubleModel(type, "Min", 0);
|
||||||
this.maxModel = new DoubleModel(type, "Max", 0);
|
this.maxModel = new DoubleModel(type, "Max", minModel);
|
||||||
|
this.minModel.setMaxModel(maxModel);
|
||||||
this.deltaModel = new DoubleModel(type, "Delta", type.getMinDelta());
|
this.deltaModel = new DoubleModel(type, "Delta", type.getMinDelta());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user