protected double[] calculateBarL0L1(double value){
  double lclip=getLowerClip();
  double uclip=getUpperClip();
  double barLow=Math.min(this.base,value);
  double barHigh=Math.max(this.base,value);
  if (barHigh < lclip) {
    return null;
  }
  if (barLow > uclip) {
    return null;
  }
  barLow=Math.max(barLow,lclip);
  barHigh=Math.min(barHigh,uclip);
  return new double[]{barLow,barHigh};
}

protected double [ ] calculateBarL0L1 ( double value ) { double lclip = getLowerClip ( ) ; double uclip = getUpperClip ( ) ; double barLow = Math . min ( this . base , value ) ; double barHigh = Math . max ( this . base , value ) ; if ( barHigh < lclip ) { return null ; } if ( barLow > uclip ) { return null ; } barLow = Math . max ( barLow , lclip ) ; barHigh = Math . min ( barHigh , uclip ) ; return new double [ ] { barLow , barHigh } ; }
calculates the coordinates for the length of a single bar .
