Class MatrixDataPoint


  • public final class MatrixDataPoint
    extends AbstractXYDataPoint
    Maps the data passed to a matrix dataset.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • MatrixDataPoint

        public MatrixDataPoint()
        Creates the object with an empty native object.
      • MatrixDataPoint

        public MatrixDataPoint​(double x,
                               double y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(Date x,
                               double y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(String x,
                               double y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(double x,
                               Date y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(Date x,
                               Date y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(String x,
                               Date y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(double x,
                               String y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(Date x,
                               String y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
      • MatrixDataPoint

        public MatrixDataPoint​(String x,
                               String y,
                               double value)
        Creates the object with the passed point values.
        Parameters:
        x - x value of data point
        y - y value of data point
        value - value of the data point
    • Method Detail

      • setY

        public void setY​(Date y)
        Sets Y value as date for time series.
        Parameters:
        y - Y value as date for time series
      • getYAsDate

        public Date getYAsDate()
        Returns Y value as date for time series.
        Returns:
        Y value as date for time series
      • setY

        public void setY​(String y)
        Sets Y value as string.
        Parameters:
        y - Y value as string
      • getYAsString

        public String getYAsString()
        Returns Y value as string.
        Returns:
        Y value as string
      • setValue

        public void setValue​(double value)
        Sets the value of matrix data point.
        Parameters:
        value - the value of matrix data point
      • getValue

        public double getValue()
        Returns the value of matrix data point.
        Returns:
        the value of matrix data point.