public Shape screenToChartShape(Shape s){
  GeneralPath p=new GeneralPath();
  Transform t=Transform.makeIdentity();
  if (currentTransform != null) {
    t.concatenate(currentTransform.getInverse());
  }
  t.translate(-getAbsoluteX(),-getAbsoluteY());
  p.append(s.getPathIterator(t),false);
  return p;
}

public Shape screenToChartShape ( Shape s ) { GeneralPath p = new GeneralPath ( ) ; Transform t = Transform . makeIdentity ( ) ; if ( currentTransform != null ) { t . concatenate ( currentTransform . getInverse ( ) ) ; } t . translate ( - getAbsoluteX ( ) , - getAbsoluteY ( ) ) ; p . append ( s . getPathIterator ( t ) , false ) ; return p ; }
converts a chart coordinate spaced shape to the same shape in the screen coordinate space
