ChartCategory

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IChartCategory, com.aspose.slides.IDOMObject

public class ChartCategory implements IChartCategory, IDOMObject

Represents chart categories.

Methods

MethodDescription
getUseCell()If true then AsCell property is actual.
getAsCell()Returns or sets IChartDataCell object.
setAsCell(IChartDataCell value)Returns or sets IChartDataCell object.
getAsLiteral()Returns or sets AsLiteral object.
setAsLiteral(Object value)Returns or sets AsLiteral object.
getValue()If UseCell is true then this property represents AsCell.Value property.
setValue(Object value)If UseCell is true then this property represents AsCell.Value property.
getGroupingLevels()Managed container of the values of the chart category grouping levels.
remove()Removes category from chart.
getParent_Immediate()

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.

Returns: boolean

getAsCell()

public final IChartDataCell getAsCell()

Returns or sets IChartDataCell object. If category is multi-level then used IChartDataCell object for level “0”. Read/write IChartDataCell.

Returns: IChartDataCell

setAsCell(IChartDataCell value)

public final void setAsCell(IChartDataCell value)

Returns or sets IChartDataCell object. If category is multi-level then used IChartDataCell object for level “0”. Read/write IChartDataCell.

Parameters:

ParameterTypeDescription
valueIChartDataCell

getAsLiteral()

public final Object getAsLiteral()

Returns or sets AsLiteral object. Read/write Object.

Returns: java.lang.Object

setAsLiteral(Object value)

public final void setAsLiteral(Object value)

Returns or sets AsLiteral object. Read/write Object.

Parameters:

ParameterTypeDescription
valuejava.lang.Object

getValue()

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

Returns: java.lang.Object

setValue(Object value)

public final void setValue(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.

Parameters:

ParameterTypeDescription
valuejava.lang.Object

getGroupingLevels()

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.

Returns: IChartCategoryLevelsManager

remove()

public final void remove()

Removes category from chart.

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject