Package org.gephi.timeline.api
Interface TimelineChart
-
public interface TimelineChartSparkline 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 StringgetColumn()The attribute column used to create this chart.NumbergetMaxX()Returns the max X value.NumbergetMaxY()Returns the max Y value.NumbergetMinX()Returns the min X value .This is the minimum interval in the chart.NumbergetMinY()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.NumbergetY(Number x)Return the Y value for the givenxposition.
-
-
-
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 givenxposition. It returns the closest value, asxmay 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
-
-