public class SeriesSet extends Object implements ISeriesSet
Modifier and Type | Method and Description |
---|---|
void |
bringForward(String id)
Brings the series for given id forward.
|
void |
bringToFront(String id)
Brings the series for given id to front.
|
void |
compressAllSeries()
Compresses all series data.
|
ISeries |
createSeries(ISeries.SeriesType type,
String id)
Creates the series.
|
void |
deleteSeries(String id)
Deletes the series for given id.
|
void |
dispose()
Disposes the series.
|
ISeries[] |
getSeries()
Gets the array of series
|
ISeries |
getSeries(String id)
Gets 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.
|
void |
updateCompressor(Axis axis)
Updates the compressor associated with the given axis.
|
void |
updateStackAndRiserData()
Updates the stack and riser data.
|
public SeriesSet(Chart chart)
chart
- the chartpublic ISeries createSeries(ISeries.SeriesType type, String id)
ISeriesSet
createSeries
in interface ISeriesSet
type
- the series typeid
- the id for seriespublic ISeries getSeries(String id)
ISeriesSet
getSeries
in interface ISeriesSet
id
- the id for seriespublic ISeries[] getSeries()
ISeriesSet
getSeries
in interface ISeriesSet
public void deleteSeries(String id)
ISeriesSet
deleteSeries
in interface ISeriesSet
id
- the series idpublic void bringForward(String id)
ISeriesSet
bringForward
in interface ISeriesSet
id
- the series idpublic void bringToFront(String id)
ISeriesSet
bringToFront
in interface ISeriesSet
id
- the series idpublic void sendBackward(String id)
ISeriesSet
sendBackward
in interface ISeriesSet
id
- the series idpublic void sendToBack(String id)
ISeriesSet
sendToBack
in interface ISeriesSet
id
- the series idpublic void dispose()
public void compressAllSeries()
public void updateCompressor(Axis axis)
In most cases, compressor is updated when series is changed. However, there is a case that compressor has to be updated with the changes in axis.
axis
- the axispublic void updateStackAndRiserData()
Copyright © 2012. All Rights Reserved.