protected Point2D calculateRangeMarkerTextAnchorPoint(Graphics2D g2,PlotOrientation orientation,Rectangle2D dataArea,Rectangle2D markerArea,RectangleInsets markerOffset,LengthAdjustmentType labelOffsetType,RectangleAnchor anchor){
  Rectangle2D anchorRect=null;
  if (orientation == PlotOrientation.HORIZONTAL) {
    anchorRect=markerOffset.createAdjustedRectangle(markerArea,labelOffsetType,LengthAdjustmentType.CONTRACT);
  }
 else   if (orientation == PlotOrientation.VERTICAL) {
    anchorRect=markerOffset.createAdjustedRectangle(markerArea,LengthAdjustmentType.CONTRACT,labelOffsetType);
  }
  return RectangleAnchor.coordinates(anchorRect,anchor);
}

protected Point2D calculateRangeMarkerTextAnchorPoint ( Graphics2D g2 , PlotOrientation orientation , Rectangle2D dataArea , Rectangle2D markerArea , RectangleInsets markerOffset , LengthAdjustmentType labelOffsetType , RectangleAnchor anchor ) { Rectangle2D anchorRect = null ; if ( orientation == PlotOrientation . HORIZONTAL ) { anchorRect = markerOffset . createAdjustedRectangle ( markerArea , labelOffsetType , LengthAdjustmentType . CONTRACT ) ; } else if ( orientation == PlotOrientation . VERTICAL ) { anchorRect = markerOffset . createAdjustedRectangle ( markerArea , LengthAdjustmentType . CONTRACT , labelOffsetType ) ; } return RectangleAnchor . coordinates ( anchorRect , anchor ) ; }
calculates the ( x , y ) coordinates for drawing a marker label .
