Interface TimelineChart


  • public interface TimelineChart
    Sparkline type chart visible in the timeline, for instance the number of nodes over time.

    Charts are usually created from the Statistics module and data are saved within GraphModel. Columns can be accessed from the graph table in the GraphModel.

    Author:
    Mathieu Bastian
    See Also:
    TimelineController.selectColumn(java.lang.String)
    • Method Detail

      • getColumn

        String getColumn()
        The attribute column used to create this chart.
        Returns:
        the attribute column
      • getX

        Number[] getX()
        Returns the X values of this chart.
        Returns:
        the X values
      • getY

        Number[] getY()
        Returns the Y values of this chart.
        Returns:
        the Y values
      • getY

        Number getY​(Number x)
        Return the Y value for the given x position. It returns the closest value, as x may not exist.
        Parameters:
        x - the point in time
        Returns:
        the Y value
      • getMinY

        Number getMinY()
        Returns the min Y value .This is the minimum value in the chart.
        Returns:
        the min Y value
      • getMaxY

        Number getMaxY()
        Returns the max Y value. This is the maximum value in the chart.
        Returns:
        the max Y value
      • getMinX

        Number getMinX()
        Returns the min X value .This is the minimum interval in the chart.
        Returns:
        the min X value
      • getMaxX

        Number getMaxX()
        Returns the max X value. This is the maximum interval in the chart.
        Returns:
        the max X value