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()
           Returns or sets AsLiteral object.
 IChartCategoryLevelsManager getGroupingLevels()
           Managed container of the values of the chart category grouping levels.
 IChartCategoryLevelsManager getLevels()
          Deprecated. 
 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 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

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". Read/write IChartDataCell.

Specified by:
getAsCell in interface IChartCategory

setAsCell

public 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 java.lang.Object getAsLiteral()

Returns or sets AsLiteral object. Read/write Object.

Specified by:
getAsLiteral in interface IChartCategory

setAsLiteral

public void setAsLiteral(java.lang.Object value)

Returns or sets AsLiteral object. Read/write Object.

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. Read/write Object.

Specified by:
getValue in interface IChartCategory

setValue

public 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

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. Read-only IChartCategoryLevelsManager.

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. Read-only IChartCategoryLevelsManager.

Specified by:
getGroupingLevels in interface IChartCategory

remove

public 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 com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.