Class CategoryLineAnnotation

    • Constructor Detail

      • CategoryLineAnnotation

        public CategoryLineAnnotation​(Comparable category1,
                                      double value1,
                                      Comparable category2,
                                      double value2,
                                      Paint paint,
                                      Stroke stroke)
        Creates a new annotation that draws a line between (category1, value1) and (category2, value2).
        Parameters:
        category1 - the category (null not permitted).
        value1 - the value (must be finite).
        category2 - the category (null not permitted).
        value2 - the value (must be finite).
        paint - the line color (null not permitted).
        stroke - the line stroke (null not permitted).