All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kg.apc.charting.elements.GraphPanelChartExactElement Maven / Gradle / Ivy

There is a newer version: 0.7
Show newest version
package kg.apc.charting.elements;

import kg.apc.charting.AbstractGraphPanelChartElement;

/** {@inheritDoc} */
public class GraphPanelChartExactElement
      extends AbstractGraphPanelChartElement
{
   private long x = 0;
   private double y = 0;

   public GraphPanelChartExactElement(long xVal, double yVal)
   {
      x = xVal;
      y = yVal;
   }

   /** {@inheritDoc} */
   public double getValue()
   {
      return y;
   }

   /**
    *
    * @return
    */
   public long getX()
   {
      return x;
   }

    public void add(double val) {
        y=val;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy