ChartCategory

ChartCategory class

Represents chart categories.

public class ChartCategory : 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 object. 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