Package org.gephi.timeline.api
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 theGraphModel
.- Author:
- Mathieu Bastian
- See Also:
TimelineController.selectColumn(java.lang.String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getColumn()
The attribute column used to create this chart.Number
getMaxX()
Returns the max X value.Number
getMaxY()
Returns the max Y value.Number
getMinX()
Returns the min X value .This is the minimum interval in the chart.Number
getMinY()
Returns the min Y value .This is the minimum value in the chart.Number[]
getX()
Returns the X values of this chart.Number[]
getY()
Returns the Y values of this chart.Number
getY(Number x)
Return the Y value for the givenx
position.
-
-
-
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 givenx
position. It returns the closest value, asx
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
-
-