Class ChartType
List of available chart types
Inheritance
Namespace: IronXL.Drawing.Charts
Assembly: IronXL.dll
Syntax
public sealed class ChartType : Enum
ChartType selects the kind of chart IronXL draws when one is added to a worksheet, passed as the first argument to WorkSheet.CreateChart. Line and Column cover the common trend and category comparisons, Bar is the horizontal counterpart to Column, Area fills beneath a line, Pie shows parts of a whole, and Scatter plots paired values. The create Excel chart how-to builds a chart end to end.
IChart chart = workSheet.CreateChart(ChartType.Line, 5, 5, 20, 10);Fields
Area
The area chart
Declaration
public const ChartType Area
Field Value
| Type | Description |
|---|---|
| ChartType |
Bar
The bar chart
Declaration
public const ChartType Bar
Field Value
| Type | Description |
|---|---|
| ChartType |
Column
The column chart
Declaration
public const ChartType Column
Field Value
| Type | Description |
|---|---|
| ChartType |
Line
The line chart
Declaration
public const ChartType Line
Field Value
| Type | Description |
|---|---|
| ChartType |
Pie
The pie chart
Declaration
public const ChartType Pie
Field Value
| Type | Description |
|---|---|
| ChartType |
Scatter
The scatter chart
Declaration
public const ChartType Scatter
Field Value
| Type | Description |
|---|---|
| ChartType |
value__
Declaration
public short value__
Field Value
| Type | Description |
|---|---|
| System.Int16 |