|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.app.filter.SeriesAdapter
public class SeriesAdapter
The time line series type.
Field Summary | |
---|---|
private com.jjoe64.graphview.GraphView.GraphViewData[] |
data
The graph view data array |
private com.jjoe64.graphview.GraphViewSeries |
series
The adapted graph view series |
Constructor Summary | |
---|---|
SeriesAdapter(String description,
com.jjoe64.graphview.GraphViewSeries.GraphViewSeriesStyle style,
Double[] values,
Long[] timeStamps)
Constructor |
Method Summary | |
---|---|
double |
getMaxTS()
Getter for the maximum time stamp |
com.jjoe64.graphview.GraphViewSeries |
getSeries()
Getter for the series |
int |
getSize()
Getter for the size |
protected static com.jjoe64.graphview.GraphView.GraphViewData[] |
toGraphViewData(Double[] values,
Long[] timeStamps)
Method to create the graph view data type from the raw time series data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final com.jjoe64.graphview.GraphView.GraphViewData[] data
private final com.jjoe64.graphview.GraphViewSeries series
Constructor Detail |
---|
public SeriesAdapter(String description, com.jjoe64.graphview.GraphViewSeries.GraphViewSeriesStyle style, Double[] values, Long[] timeStamps)
description
- the series descriptionstyle
- the series stylevalues
- the value arraytimeStamps
- time stamps arrayMethod Detail |
---|
public int getSize()
protected static final com.jjoe64.graphview.GraphView.GraphViewData[] toGraphViewData(Double[] values, Long[] timeStamps)
values
- the values for the seriestimeStamps
- the time stamps for the series
public final double getMaxTS()
public final com.jjoe64.graphview.GraphViewSeries getSeries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |