com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ChartCategory

  • java.lang.Object
    • com.aspose.slides.ChartCategory
  • All Implemented Interfaces:
    IChartCategory


    public class ChartCategory
    extends java.lang.Object
    implements IChartCategory

    Represents chart categories.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IChartDataCell getAsCell()
      Returns or sets Aspose.Cells.Cell object.
      java.lang.Object getAsLiteral()
      Returns or sets AsLiteral object.
      IChartCategoryLevelsManager getGroupingLevels()
      Managed container of the values of the chart category grouping levels.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      boolean getUseCell()
      If true then AsCell property is actual.
      java.lang.Object getValue()
      If UseCell is true then this property represents AsCell.Value property.
      void remove()
      Removes category from chart.
      void setAsCell(IChartDataCell value)
      Returns or sets Aspose.Cells.Cell object.
      void setAsLiteral(java.lang.Object value)
      Returns or sets AsLiteral object.
      void setValue(java.lang.Object value)
      If UseCell is true then this property represents AsCell.Value property.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUseCell

        public final 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.UseCells property.

        Specified by:
        getUseCell in interface IChartCategory
      • setAsCell

        public final 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.

        Specified by:
        setAsCell in interface IChartCategory
      • getAsLiteral

        public final java.lang.Object getAsLiteral()

        Returns or sets AsLiteral object. Read/write Object.

        Specified by:
        getAsLiteral in interface IChartCategory
      • setAsLiteral

        public final void setAsLiteral(java.lang.Object value)

        Returns or sets AsLiteral object. Read/write Object.

        Specified by:
        setAsLiteral in interface IChartCategory
      • getValue

        public final 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.

        Specified by:
        getValue in interface IChartCategory
      • setValue

        public final 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.

        Specified by:
        setValue in interface IChartCategory
      • remove

        public final void remove()

        Removes category from chart.

        Specified by:
        remove in interface IChartCategory
        Throws:
        PptxEditException - Thrown if category is already removed from chart.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.