Table of Contents

Class ExcelLineChartSerie

Namespace
OfficeOpenXml.Drawing.Chart
Assembly
EPPlus.dll

A serie for a line chart

public sealed class ExcelLineChartSerie : ExcelChartSerieWithErrorBars, IDrawingSerieDataLabel
Inheritance
ExcelLineChartSerie
Implements
Inherited Members

Properties

DataLabel

Datalabels

public ExcelChartSerieDataLabel DataLabel { get; }

Property Value

ExcelChartSerieDataLabel

DataPoints

A collection of the individual datapoints

public ExcelChartDataPointCollection DataPoints { get; }

Property Value

ExcelChartDataPointCollection

HasDataLabel

If the chart has datalabel

public bool HasDataLabel { get; }

Property Value

bool

LineColor

Line color.

[Obsolete("Please use Border.Fill.Color")]
public Color LineColor { get; set; }

Property Value

Color

The color of the line.

LineWidth

Gets or sets the width of the line in pt.

[Obsolete("Please use Border.Width")]
public double LineWidth { get; set; }

Property Value

double

The width of the line.

Marker

A reference to marker properties

public ExcelChartMarker Marker { get; }

Property Value

ExcelChartMarker

MarkerLineColor

Marker Line color. (not to be confused with LineColor)

[Obsolete("Please use Marker.Border.Fill.Color")]
public Color MarkerLineColor { get; set; }

Property Value

Color

The color of the Marker line.

MarkerSize

Gets or sets the size of the marker.

[Obsolete("Please use Marker.Size")]
public int MarkerSize { get; set; }

Property Value

int

The size of the marker.

Remarks

value between 2 and 72.

Smooth

Smooth lines

public bool Smooth { get; set; }

Property Value

bool

Methods

HasMarker()

If the serie has markers

public bool HasMarker()

Returns

bool

True if serie has markers