Class PlotAnnotation

    • Constructor Detail

      • PlotAnnotation

        public PlotAnnotation​(String name,
                              int value)
        Create a new PlotAnnotation.
        Parameters:
        name - The name of the annotation, which will be used as a label in the image
        value - The value that belongs to this annotation
        Since:
        2.2
      • PlotAnnotation

        public PlotAnnotation​(String name,
                              Collection<Integer> values)
        Create a new PlotAnnotation.
        Parameters:
        name - The name of the annotation, which will be used as a label in the image
        values - The values that belongs to this annotation
    • Method Detail

      • getName

        public String getName()
        The name of the annotation, which will be used as a label in the image.
      • getValues

        public Collection<Integer> getValues()
        The values that falls into this annotation. This collection shouldn't contain a value that is also found in another PlotAnnotation.