P - Type of Plotpublic interface TimeChartData<P extends PeriodSequencePlot> extends PeriodChartData<P>
| Modifier and Type | Method and Description |
|---|---|
P |
addAreaGraph(P plot)
Add a Plot as an area graph.
|
P |
addAreaGraph(P plot,
java.awt.Color[] custom_colours)
Add a Plot as an area graph with custom colours
|
P |
addLineGraph(P plot)
Add a Plot as a line graph
|
P |
addLineGraph(P plot,
java.awt.Color[] custom_colors)
add a Plot as a line graph
|
void |
addWarningLevel(double value,
java.awt.Color col)
mark a threshold/warning level
|
int |
getItems()
get the number of plot points in the chart
|
java.util.List<P> |
getPlots() |
boolean |
isCumulative() |
void |
setCumulative(boolean value)
Set a hint that we are going to use this data in a cummulative plot
|
void |
setPeriod(SplitTimePeriod period,
int nsplit) |
getPeriodcreatePNG, createPNG, getQuantityName, getSize, makeDataSet, setGraphical, setQuantityName, setTitle, writeGraphicsvoid setCumulative(boolean value)
value - boolean isCumulative()
void setPeriod(SplitTimePeriod period, int nsplit)
P addAreaGraph(P plot) throws java.lang.Exception
plot - java.lang.ExceptionP addAreaGraph(P plot, java.awt.Color[] custom_colours) throws java.lang.Exception
plot - custom_colours - java.lang.ExceptionP addLineGraph(P plot) throws java.lang.Exception
plot - java.lang.ExceptionP addLineGraph(P plot, java.awt.Color[] custom_colors) throws java.lang.Exception
plot - custom_colors - java.lang.Exceptionvoid addWarningLevel(double value,
java.awt.Color col)
value - col - optional Color to mark threshold withjava.util.List<P> getPlots()
int getItems()