Module xaos.ui.plot

Interface DensityChartFX.Data<X,​Y>

    • Method Detail

      • getXSize

        int getXSize()
        Size of the data along X axis.
        Returns:
        Number of X coordinates.
      • getYSize

        int getYSize()
        Size of the data along Y axis.
        Returns:
        Number of Y coordinates.
      • getXValue

        X getXValue​(int xIndex)
        Returns X coordinate at given index.
        Parameters:
        xIndex - Index of the X coordinate.
        Returns:
        X coordinate.
        See Also:
        getXSize()
      • getYValue

        Y getYValue​(int yIndex)
        Returns Y coordinate at given index.
        Parameters:
        yIndex - Index of the Y coordinate.
        Returns:
        Y coordinate.
        See Also:
        getYSize()
      • getZValue

        double getZValue​(int xIndex,
                         int yIndex)
        Returns the Z value for given X and Y coordinate index.
        Parameters:
        xIndex - Index of the X coordinate.
        yIndex - Index of the Y coordinate.
        Returns:
        the value