Gephi Toolkit Javadoc

org.gephi.timeline.api
Interface TimelineChart

All Known Implementing Classes:
TimelineChartImpl

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 Attributable.getAttributes(). Columns can be accessed from the graph table in the AttributeModel.getGraphTable().

Author:
Mathieu Bastian
See Also:
TimelineController.selectColumn(org.gephi.data.attributes.api.AttributeColumn)

Method Summary
 AttributeColumn getColumn()
          The attribute column used to create this chart.
 java.lang.Number getMaxX()
          Returns the max X value.
 java.lang.Number getMaxY()
          Returns the max Y value.
 java.lang.Number getMinX()
          Returns the min X value .This is the minimum interval in the chart.
 java.lang.Number getMinY()
          Returns the min Y value .This is the minimum value in the chart.
 java.lang.Number[] getX()
          Returns the X values of this chart.
 java.lang.Number[] getY()
          Returns the Y values of this chart.
 java.lang.Number getY(java.lang.Number x)
          Return the Y value for the given x position.
 

Method Detail

getColumn

AttributeColumn getColumn()
The attribute column used to create this chart.

Returns:
the attribute column

getX

java.lang.Number[] getX()
Returns the X values of this chart.

Returns:
the X values

getY

java.lang.Number[] getY()
Returns the Y values of this chart.

Returns:
the Y values

getY

java.lang.Number getY(java.lang.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

java.lang.Number getMinY()
Returns the min Y value .This is the minimum value in the chart.

Returns:
the min Y value

getMaxY

java.lang.Number getMaxY()
Returns the max Y value. This is the maximum value in the chart.

Returns:
the max Y value

getMinX

java.lang.Number getMinX()
Returns the min X value .This is the minimum interval in the chart.

Returns:
the min X value

getMaxX

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

Returns:
the max X value

Gephi Toolkit Javadoc