Table of Contents

Class ExcelStandardChartWithLines

Namespace
OfficeOpenXml.Drawing.Chart
Assembly
EPPlus.dll

Base class for standard charts with line properties.

public abstract class ExcelStandardChartWithLines : ExcelChartStandard, IDisposable, IDrawingDataLabel
Inheritance
ExcelStandardChartWithLines
Implements
Derived
Inherited Members

Properties

DataLabel

Access to datalabel properties

public ExcelChartDataLabel DataLabel { get; }

Property Value

ExcelChartDataLabel

DownBar

Format the down bars on the chart

public ExcelChartStyleItem DownBar { get; }

Property Value

ExcelChartStyleItem

DropLine

Format the drop lines for the series.

public ExcelChartStyleItem DropLine { get; }

Property Value

ExcelChartStyleItem

HasDataLabel

If the chart has datalabel

public bool HasDataLabel { get; }

Property Value

bool

HighLowLine

Format the high-low lines for the series.

public ExcelChartStyleItem HighLowLine { get; }

Property Value

ExcelChartStyleItem

Marker

If the series has markers

public bool Marker { get; set; }

Property Value

bool

Series

The series for the chart

public ExcelChartSeries<ExcelLineChartSerie> Series { get; }

Property Value

ExcelChartSeries<ExcelLineChartSerie>

Smooth

If the series has smooth lines

public bool Smooth { get; set; }

Property Value

bool

UpBar

Format the up bars on the chart

public ExcelChartStyleItem UpBar { get; }

Property Value

ExcelChartStyleItem

UpDownBarGapWidth

The gap width between the up and down bars

public double? UpDownBarGapWidth { get; set; }

Property Value

double?

Methods

AddDropLines()

Adds droplines to the chart.

public ExcelChartStyleItem AddDropLines()

Returns

ExcelChartStyleItem

AddHighLowLines()

Adds High-Low lines to the chart.

public ExcelChartStyleItem AddHighLowLines()

Returns

ExcelChartStyleItem

AddUpDownBars(bool, bool)

Adds up and/or down bars to the chart.

public void AddUpDownBars(bool upBars = true, bool downBars = true)

Parameters

upBars bool

Adds up bars if up bars does not exist.

downBars bool

Adds down bars if down bars does not exist.