public class TimeSeriesDiagram
extends java.lang.Object
Constructor and Description |
---|
TimeSeriesDiagram(TimestampSeries timestampseries,
AggregationInterval aggregationInterval,
SensorCategory diagramType,
boolean boxplot) |
Modifier and Type | Method and Description |
---|---|
int |
calcDiagramX(double timestamp) |
int |
calcDiagramY(double value) |
long |
calcTimestamp(double posX) |
double |
calcValue(double posY) |
void |
draw(TimeSeriesPainter tsp) |
void |
draw(TimeSeriesPainter tsp,
TimestampSeries compareTs) |
void |
fitDiagramValueRangeToDiagramTimestampRange() |
long |
getDataMaxTimestamp() |
float |
getDataMaxValue() |
long |
getDataMinTimestamp() |
float |
getDataMinValue() |
double |
getDiagramMaxTimestamp() |
double |
getDiagramMaxValue() |
double |
getDiagramMinTimestamp() |
double |
getDiagramMinValue() |
float[] |
getDiagramXMinMax() |
TimestampSeries |
getTimeStampSeries() |
void |
setDiagramTimestampRange(double min,
double max) |
void |
setDiagramValueRange(double min,
double max) |
public TimeSeriesDiagram(TimestampSeries timestampseries, AggregationInterval aggregationInterval, SensorCategory diagramType, boolean boxplot)
public TimestampSeries getTimeStampSeries()
public int calcDiagramX(double timestamp)
public long calcTimestamp(double posX)
public int calcDiagramY(double value)
public double calcValue(double posY)
public float[] getDiagramXMinMax()
public void draw(TimeSeriesPainter tsp)
public void draw(TimeSeriesPainter tsp, TimestampSeries compareTs)
public long getDataMinTimestamp()
public long getDataMaxTimestamp()
public double getDiagramMinTimestamp()
public double getDiagramMaxTimestamp()
public void setDiagramTimestampRange(double min, double max)
public float getDataMinValue()
public float getDataMaxValue()
public double getDiagramMinValue()
public double getDiagramMaxValue()
public void setDiagramValueRange(double min, double max)
public void fitDiagramValueRangeToDiagramTimestampRange()