com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IChartSeriesCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IChartSeries add(IChartCellCollection cellsWithSeriesName, int type)
      Creates new chart series from IChartCellCollection and adds it to the collection.
      IChartSeries add(IChartDataCell cellWithSeriesName, int type)
      Creates new chart series from IChartDataCell and adds it to the collection.
      IChartSeries add(int type)
      Creates new chart series and adds it to the collection.
      IChartSeries add(java.lang.String name, int type)
      Creates new chart series from value and adds it to the collection.
      void clear()
      Removes all elements from the collection.
      IChartSeries get_Item(int index)
      Gets the element at the specified index.
      int indexOf(IChartSeries value)
      Searches for the specified IChartSeries and returns the zero-based index of the first occurrence within the entire Collection
      IChartSeries insert(int index, int type)
      Creates new chart series and insertss it into the collection.
      void remove(IChartSeries value)
      Removes the specified value.
      void removeAt(int index)
      Removes the element at the specified index
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IChartSeries get_Item(int index)

        Gets the element at the specified index.

        Returns:
        The element at the specified index.
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - index is not a valid index in the IList.
      • add

        IChartSeries add(int type)

        Creates new chart series and adds it to the collection.

        Parameters:
        type - Type of series
        Returns:
        New chart series.
      • insert

        IChartSeries insert(int index,
                            int type)

        Creates new chart series and insertss it into the collection.

      • add

        IChartSeries add(IChartDataCell cellWithSeriesName,
                         int type)

        Creates new chart series from IChartDataCell and adds it to the collection.

        Parameters:
        cellWithSeriesName - Cell which contain series name.
        type - Type set type of series


        If chart series careted from same cell already in collection then method adds nothing and returns it's index.

        Returns:
        Added chart series or series that already is in collection.
      • add

        IChartSeries add(IChartCellCollection cellsWithSeriesName,
                         int type)

        Creates new chart series from IChartCellCollection and adds it to the collection.

        Parameters:
        cellsWithSeriesName - Cells which contain series name.
        type - Type set type of series


        If chart series careted from same cell already in collection then method adds nothing and returns it's index.

        Returns:
        Added chart series or series that already is in collection.
      • add

        IChartSeries add(java.lang.String name,
                         int type)

        Creates new chart series from value and adds it to the collection.

        Parameters:
        name - Series name.
        type - Type set type of series
        Returns:
        Added chart series.
      • indexOf

        int indexOf(IChartSeries value)

        Searches for the specified IChartSeries and returns the zero-based index of the first occurrence within the entire Collection

        Parameters:
        value - Chart series value.
        Returns:
        The zero-based index of the first occurrence of value within the entire CollectionBase, if found; otherwise, -1.
      • remove

        void remove(IChartSeries value)

        Removes the specified value.

        Parameters:
        value - The value.
        Throws:
        com.aspose.ms.System.ArgumentException - The value parameter was not found in the collection.
      • removeAt

        void removeAt(int index)

        Removes the element at the specified index

      • clear

        void clear()

        Removes all elements from the collection.