|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cafesip.gwtcomp.client.common.TimeSeriesPlotInfo
public class TimeSeriesPlotInfo
This class contains the information on the time series plot. The
org.cafesip.gwtcomp.client.ui.charting.LiveDataService object can
display a line plot consisting of multiple series plotted against time. This
class represents the characteristics of one such a plot.
| Constructor Summary | |
|---|---|
TimeSeriesPlotInfo()
A constructor for this class. |
|
TimeSeriesPlotInfo(SeriesInfo[] series,
double minValue,
double maxValue,
long refreshInterval)
Similar to the constructor above but it uses the default values for some of the parameters. |
|
TimeSeriesPlotInfo(SeriesInfo[] series,
double minValue,
double maxValue,
long refreshInterval,
int numXTicks,
int numYTicks,
String label,
int maxPlots)
A constructor for this class. |
|
| Method Summary | |
|---|---|
int |
getMaxPlots()
|
double |
getMaxValue()
|
double |
getMinValue()
|
int |
getNumXTicks()
|
int |
getNumYTicks()
|
long |
getRefreshInterval()
|
SeriesInfo[] |
getSeries()
|
String |
getYLabel()
|
void |
setMaxPlots(int maxPlots)
|
void |
setMaxValue(double maxValue)
|
void |
setMinValue(double minValue)
|
void |
setNumXTicks(int numXTicks)
|
void |
setNumYTicks(int numYTicks)
|
void |
setRefreshInterval(long refreshInterval)
|
void |
setSeries(SeriesInfo[] series)
|
void |
setYLabel(String label)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSeriesPlotInfo()
public TimeSeriesPlotInfo(SeriesInfo[] series,
double minValue,
double maxValue,
long refreshInterval,
int numXTicks,
int numYTicks,
String label,
int maxPlots)
series - properties for one or more series that is to be displayedminValue - bottom range. If all the series have a common bottom range, it
must be specified here. It is also possible to specify
separate bottom ranges for each the series.maxValue - top range. If all the series have a common top range, it must
be specified here. It is also possible to specify separate top
ranges for each the series.refreshInterval - specifies how frequently must the plot be refreshed. A value
of 0 specifies no refresh after the inital data load.numXTicks - number of axis markers to display on the X axis.numYTicks - number of axis markers to display on the Y axis.label - Y Axis label.maxPlots - maximum number of plots to display for a given series.
public TimeSeriesPlotInfo(SeriesInfo[] series,
double minValue,
double maxValue,
long refreshInterval)
| Method Detail |
|---|
public SeriesInfo[] getSeries()
public void setSeries(SeriesInfo[] series)
series - The series to set.public double getMinValue()
public void setMinValue(double minValue)
minValue - The rangeBottom to set.public double getMaxValue()
public void setMaxValue(double maxValue)
maxValue - The rangeTop to set.public long getRefreshInterval()
public void setRefreshInterval(long refreshInterval)
refreshInterval - The refreshInterval to set.public int getNumXTicks()
public void setNumXTicks(int numXTicks)
numXTicks - The numXTicks to set.public int getNumYTicks()
public void setNumYTicks(int numYTicks)
numYTicks - The numYTicks to set.public String getYLabel()
public void setYLabel(String label)
label - The yLabel to set.public int getMaxPlots()
public void setMaxPlots(int maxPlots)
maxPlots - The maxPlots to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||