Class ChartType
Represents the different types of charts supported by the document.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class ChartType : Enum
Choose which chart a document draws with ChartType, passed to the Chart constructor or set on Chart.Type. Bar compares values across categories with rectangular bars, Line traces a trend across a continuous series, and Pie shows each value as a slice of a whole. Pick the one that matches the story the data should tell, then supply the chart's series and title.
var chart = new Chart(ChartType.Bar, "Quarterly Revenue");Fields
Bar
A bar chart.
Declaration
public const ChartType Bar
Field Value
| Type | Description |
|---|---|
| ChartType |
Line
A line chart.
Declaration
public const ChartType Line
Field Value
| Type | Description |
|---|---|
| ChartType |
Pie
A pie chart.
Declaration
public const ChartType Pie
Field Value
| Type | Description |
|---|---|
| ChartType |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |