com.aspose.slides
Class ChartCategory

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

public class ChartCategory
extends java.lang.Object
implements IChartCategory

Represents chart categories.


Method Summary
 IChartDataCell getAsCell()
           Returns or sets Aspose.Cells.Cell object.
 java.lang.Object getAsLiteral()
           
 IChartCategoryLevelsManager getGroupingLevels()
           Managed container of the values of the chart category grouping levels.
 IChartCategoryLevelsManager getLevels()
          Deprecated. 
 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 setAsCell(IChartDataCell value)
           
 void setAsLiteral(java.lang.Object value)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUseCell

public 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)


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

Specified by:
getUseCell in interface IChartCategory

getAsCell

public IChartDataCell getAsCell()

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

Specified by:
getAsCell in interface IChartCategory

setAsCell

public void setAsCell(IChartDataCell value)
Specified by:
setAsCell in interface IChartCategory

getAsLiteral

public java.lang.Object getAsLiteral()
Specified by:
getAsLiteral in interface IChartCategory

setAsLiteral

public void setAsLiteral(java.lang.Object value)
Specified by:
setAsLiteral in interface IChartCategory

getValue

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

Specified by:
getValue in interface IChartCategory

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface IChartCategory

getLevels

@Deprecated
public IChartCategoryLevelsManager getLevels()
Deprecated. 

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.

Specified by:
getLevels in interface IChartCategory

getGroupingLevels

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

Specified by:
getGroupingLevels in interface IChartCategory