Class AnnotationText

All Implemented Interfaces:
ChartPart

public class AnnotationText extends Annotation
  • Field Details

    • text

      private String text
    • x

      protected double x
    • y

      protected double y
  • Constructor Details

    • AnnotationText

      public AnnotationText(String text, double x, double y, boolean isValueInScreenSpace)
      Constructor
      Parameters:
      text -
      x -
      y -
      isValueInScreenSpace -
  • Method Details

    • paint

      public void paint(Graphics2D g)
    • setText

      public void setText(String text)
    • setX

      public void setX(double x)
    • setY

      public void setY(double y)