public class ChartCategory extends java.lang.Object implements IChartCategory
Represents chart categories.
| 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.
|
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.
getUseCell in interface IChartCategorypublic final 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.
getAsCell in interface IChartCategorypublic 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.
setAsCell in interface IChartCategorypublic final java.lang.Object getAsLiteral()
Returns or sets AsLiteral object.
Read/write Object.
getAsLiteral in interface IChartCategorypublic final void setAsLiteral(java.lang.Object value)
Returns or sets AsLiteral object.
Read/write Object.
setAsLiteral in interface IChartCategorypublic 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.
getValue in interface IChartCategorypublic 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.
setValue in interface IChartCategorypublic final 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.
getGroupingLevels in interface IChartCategorypublic final void remove()
Removes category from chart.
remove in interface IChartCategoryPptxEditException - Thrown if category is already removed from chart.public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.