Class LineGraph.Data

  • Enclosing class:
    LineGraph

    public static final class LineGraph.Data
    extends java.lang.Object
    This represents the data for a line graph.
    • Constructor Summary

      Constructors 
      Constructor Description
      Data()
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addData​(java.lang.Object x, java.lang.Object y)  
      • Methods inherited from class java.lang.Object

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

      • Data

        public Data()
        Creates an instance.
    • Method Detail

      • addData

        public void addData​(java.lang.Object x,
                            java.lang.Object y)
        Parameters:
        x - the x value
        y - the y value