IChartCategory

IChartCategory interface

Represents chart categories.

public interface IChartCategory

Properties

NameDescription
AsCell { get; set; }Returns or sets IChartDataCell object. If category is multi-level then used IChartDataCell object for level “0”. Read/write IChartDataCell.
AsLiteral { get; set; }Returns or sets AsLiteral if UseCell is false. Read/write Object.
GroupingLevels { get; }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.
UseCell { get; }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.
Value { get; set; }If UseCell is true then this property represents AsCell.Value property. If UseCell is false then this property represents AsLiteral property. Read/write Object.

Methods

NameDescription
Remove()Removes category from chart.

See Also