@Override protected void drawFirstPassShape(Graphics2D g2,int pass,int series,int item,Shape shape){
  if (isShadowPass(pass)) {
    if (getWallPaint() != null) {
      g2.setStroke(getItemStroke(series,item));
      g2.setPaint(getWallPaint());
      g2.translate(getXOffset(),getYOffset());
      g2.draw(shape);
      g2.translate(-getXOffset(),-getYOffset());
    }
  }
 else {
    super.drawFirstPassShape(g2,pass,series,item,shape);
  }
}

@ Override protected void drawFirstPassShape ( Graphics2D g2 , int pass , int series , int item , Shape shape ) { if ( isShadowPass ( pass ) ) { if ( getWallPaint ( ) != null ) { g2 . setStroke ( getItemStroke ( series , item ) ) ; g2 . setPaint ( getWallPaint ( ) ) ; g2 . translate ( getXOffset ( ) , getYOffset ( ) ) ; g2 . draw ( shape ) ; g2 . translate ( - getXOffset ( ) , - getYOffset ( ) ) ; } } else { super . drawFirstPassShape ( g2 , pass , series , item , shape ) ; } }
overrides the method in the subclass to draw a shadow in the first pass .
