Package org.swtchart

Interface ISeriesSet

  • All Known Implementing Classes:
    SeriesSet

    public interface ISeriesSet
    A series container.
    • Method Detail

      • createSeries

        ISeries createSeries​(ISeries.SeriesType type,
                             java.lang.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​(java.lang.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​(java.lang.String id)
        Deletes the series for given id.
        Parameters:
        id - the series id
        Throws:
        java.lang.IllegalArgumentException - if there is no series for the given id.
      • bringForward

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

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

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

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