Package org.swtchart
Interface ISeriesSet
- All Known Implementing Classes:
SeriesSet
public interface ISeriesSet
A series container.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bringForward
(String id) Brings the series for given id forward.void
bringToFront
(String id) Brings the series for given id to front.createSeries
(ISeries.SeriesType type, String id) Creates the series.void
deleteSeries
(String id) Deletes the series for given id.ISeries[]
Gets the array of seriesGets the series for given id.void
sendBackward
(String id) Sends the series for given id backward.void
sendToBack
(String id) Sends the series for given id to back.
-
Method Details
-
createSeries
Creates the series. If series for given id already exists, the existing series will be overwritten.- Parameters:
type
- the series typeid
- the id for series- Returns:
- the series
-
getSeries
Gets the series for given id.- Parameters:
id
- the id for series- Returns:
- the series, or null if series doesn't exist for the given id.
-
getSeries
ISeries[] getSeries()Gets the array of series- Returns:
- the array of series
-
deleteSeries
Deletes the series for given id.- Parameters:
id
- the series id- Throws:
IllegalArgumentException
- if there is no series for the given id.
-
bringForward
Brings the series for given id forward.- Parameters:
id
- the series id
-
bringToFront
Brings the series for given id to front.- Parameters:
id
- the series id
-
sendBackward
Sends the series for given id backward.- Parameters:
id
- the series id
-
sendToBack
Sends the series for given id to back.- Parameters:
id
- the series id
-