Class ChartCategory
Represents a category on a chart's category axis.
Maps to the OOXML c:cat element (individual point within
c:strLit/c:numLit).
Inherited Members
Namespace: DRIT.Document.Chart.Office
Assembly: DRIT.Document.dll
Syntax
public class ChartCategory
Constructors
ChartCategory(string)
Initializes a new category with the given name.
Declaration
public ChartCategory(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Properties
Name
Gets or sets the display name of the category.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the numeric value of the category when the category
axis uses numeric labels. null for text categories.
Declaration
public double? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |