Package org.swtchart

Interface ISeriesSet

All Known Implementing Classes:
SeriesSet

public interface ISeriesSet
A series container.
  • Method Details

    • createSeries

      ISeries createSeries(ISeries.SeriesType type, String id)
      Creates the series. If series for given id already exists, the existing series will be overwritten.
      Parameters:
      type - the series type
      id - the id for series
      Returns:
      the series
    • getSeries

      ISeries getSeries(String id)
      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

      void deleteSeries(String id)
      Deletes the series for given id.
      Parameters:
      id - the series id
      Throws:
      IllegalArgumentException - if there is no series for the given id.
    • bringForward

      void bringForward(String id)
      Brings the series for given id forward.
      Parameters:
      id - the series id
    • bringToFront

      void bringToFront(String id)
      Brings the series for given id to front.
      Parameters:
      id - the series id
    • sendBackward

      void sendBackward(String id)
      Sends the series for given id backward.
      Parameters:
      id - the series id
    • sendToBack

      void sendToBack(String id)
      Sends the series for given id to back.
      Parameters:
      id - the series id