public double getMinSample() {
   // return scaling == null ? 0 : (scaling.scale(stx.getMin()));
   return scaling == null
       ? 0
       : (scaling.isLog10Scaled() ? scaling.scale(stx.getMin()) : stx.getMin());
 }
 public double getMaxSample(boolean isLog10Scaled) {
   return scaling == null ? 0 : (isLog10Scaled ? scaling.scale(stx.getMax()) : stx.getMax());
 }