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