com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IChartCategory

  • All Known Implementing Classes:
    ChartCategory


    public interface IChartCategory

    Represents chart categories.

    • Method Detail

      • getUseCell

        boolean getUseCell()

        If true then AsCell property is actual. In other words, worksheet is used for storing category (this case supports a multi-level category). If false then AsLiteral property is actual. In other words, worksheet is NOT used for storing category (and this case doesn't support a multi-level categories). Read-only boolean.


        For change value of this property (for all categories in collection) set new value to ChartCategoryCollection.getUseCells() property.

      • getAsCell

        IChartDataCell getAsCell()

        Returns or sets Aspose.Cells.Cell object. If category is multi-level then used Aspose.Cells.Cell object for level "0". Read/write IChartDataCell.

      • setAsCell

        void setAsCell(IChartDataCell value)

        Returns or sets Aspose.Cells.Cell object. If category is multi-level then used Aspose.Cells.Cell object for level "0". Read/write IChartDataCell.

      • getAsLiteral

        java.lang.Object getAsLiteral()

        Returns or sets AsLiteral if UseCell is false. Read/write Object.

      • setAsLiteral

        void setAsLiteral(java.lang.Object value)

        Returns or sets AsLiteral if UseCell is false. Read/write Object.

      • getValue

        java.lang.Object getValue()

        If UseCell is true then this property represents AsCell.Value property. If UseCell is false then this property represents AsLiteral property. Read/write Object.

      • setValue

        void setValue(java.lang.Object value)

        If UseCell is true then this property represents AsCell.Value property. If UseCell is false then this property represents AsLiteral property. Read/write Object.

      • getGroupingLevels

        IChartCategoryLevelsManager getGroupingLevels()

        Managed container of the values of the chart category grouping levels. Multi-level category contain more then one grouping level. Grouping levels indexing is zero-based. Read-only IChartCategoryLevelsManager.

      • remove

        void remove()

        Removes category from chart.

        Throws:
        PptxEditException - Thrown if category is already removed from chart.