public interface ISeries
ISeries
interface defines the set of methods necessary to
describe a series in ICE used for plotting on an IPlot
. The ISeries
type should be able to provide all of the information for plotting on the
platform, including the type and style of the series.Modifier and Type | Method and Description |
---|---|
double[] |
getBounds()
Gets the bounds for this series.
|
java.lang.String |
getCategory()
Gets the current category that this series is in
|
java.lang.Object[] |
getDataPoints()
Gets all of the data points for this series, used to plot the series no
matter what visualization service is being used.
|
java.lang.String |
getLabel()
Gets the label used to describe this series and to be shown on the
graphs.
|
ISeries |
getParentSeries()
Gets the parent series for this series.
|
ISeriesStyle |
getStyle()
Sets the
ISeriesStyle of the series. |
double |
getTime()
Gets the timestamp for this series.
|
boolean |
isEnabled()
Gets if this series is enabled or not.
|
void |
setEnabled(boolean enable)
Sets the enabled state of this series.
|
void |
setLabel(java.lang.String label)
Sets the label used to describe this series and to be shown on the
graphs.
|
void |
setStyle(ISeriesStyle style)
Sets the
ISeriesStyle used for this series. |
void |
setTime(double time)
Sets the time for this series to the specified time.
|
double[] getBounds()
ISeries
was established but no data was ever added to it (see
ISeries#add(double)
).java.lang.String getCategory()
java.lang.Object[] getDataPoints()
java.lang.String getLabel()
ISeries getParentSeries()
ISeriesStyle getStyle()
ISeriesStyle
of the series. That style defines the
color, point style, line style, default preferred axis, and many other
types of style information for the series to be properly formatted when
being plotted. This allows for some configuration rather than the default
plot implementation to be used for every plotting purpose.double getTime()
boolean isEnabled()
void setEnabled(boolean enable)
enable
- The state of the series. True will enable the series for
plotting, false will disable the series.void setLabel(java.lang.String label)
label
- The series labelvoid setStyle(ISeriesStyle style)
ISeriesStyle
used for this series. That style defines
the color, point style, line style, default preferred axis, and many
other types of style information for the series to be properly formatted
when being plotted. This allows for some configuration rather than the
default plot implementation to be used for every plotting purpose.style
- void setTime(double time)
time
- The time for this series.