ChartCategory

ChartCategory class

Represents chart categories.

The ChartCategory type exposes the following members:

Properties

NameDescription
use_cellIf 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 bool.
as_cellReturns or sets IChartDataCell object.
If category is multi-level then used IChartDataCell object for level “0”.
Read/write IChartDataCell.
as_literalReturns or sets AsLiteral object.
Read/write object.
valueIf UseCell is true then this property represents AsCell.Value property.
If UseCell is false then this property represents AsLiteral property.
Read/write object.
grouping_levelsManaged 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.

Methods

NameDescription
remove()Removes category from chart.

See Also