Class Line<Abscissa,​Ordinate>

  • Type Parameters:
    Abscissa - Represents the type of the abscissa (the x axis). Supported types are Date and Numerical types (subclasses of the Number class. e.g: Integer, Double, Float...).
    Ordinate - Represents the type of the ordinate (the y axis). The ordinate supports all the types that the abscissa supports plus the Boolean type.

    public class Line<Abscissa,​Ordinate>
    extends java.lang.Object
    Represents a collections of points.
    It is used inside an axis, as part of the line chart and bar chart data.
    See Also:
    AxisData
    • Constructor Summary

      Constructors 
      Constructor Description
      Line​(com.onwbp.base.text.UserMessage label)
      Creates a line with the specified label.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPoint​(Abscissa x, Ordinate y)
      Adds a point to the current line.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Line

        public Line​(com.onwbp.base.text.UserMessage label)
        Creates a line with the specified label.

        The label is shown on the legend and in the tooltip window.

    • Method Detail

      • addPoint

        public void addPoint​(Abscissa x,
                             Ordinate y)
        Adds a point to the current line.