Class ExcelStandardChartWithLines
Base class for standard charts with line properties.
Inheritance
ExcelStandardChartWithLines
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public abstract class ExcelStandardChartWithLines : ExcelChartStandard, IDisposable, IDrawingDataLabel
Properties
DataLabel
Access to datalabel properties
Declaration
public ExcelChartDataLabel DataLabel { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartDataLabel |
DownBar
Format the down bars on the chart
Declaration
public ExcelChartStyleItem DownBar { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartStyleItem |
DropLine
Format the drop lines for the series.
Declaration
public ExcelChartStyleItem DropLine { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartStyleItem |
HasDataLabel
If the chart has datalabel
Declaration
public bool HasDataLabel { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HighLowLine
Format the high-low lines for the series.
Declaration
public ExcelChartStyleItem HighLowLine { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartStyleItem |
Marker
If the series has markers
Declaration
public bool Marker { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Series
The series for the chart
Declaration
public ExcelChartSeries<ExcelLineChartSerie> Series { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartSeries<ExcelLineChartSerie> |
Smooth
If the series has smooth lines
Declaration
public bool Smooth { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UpBar
Format the up bars on the chart
Declaration
public ExcelChartStyleItem UpBar { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartStyleItem |
UpDownBarGapWidth
The gap width between the up and down bars
Declaration
public double? UpDownBarGapWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Methods
AddDropLines()
Adds droplines to the chart.
Declaration
public ExcelChartStyleItem AddDropLines()
Returns
| Type | Description |
|---|---|
| ExcelChartStyleItem |
AddHighLowLines()
Adds High-Low lines to the chart.
Declaration
public ExcelChartStyleItem AddHighLowLines()
Returns
| Type | Description |
|---|---|
| ExcelChartStyleItem |
AddUpDownBars(bool, bool)
Adds up and/or down bars to the chart.
Declaration
public void AddUpDownBars(bool upBars = true, bool downBars = true)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | upBars | Adds up bars if up bars does not exist. |
| bool | downBars | Adds down bars if down bars does not exist. |