Class ExcelLineChartSerie
A serie for a line chart
Inheritance
System.Object
ExcelLineChartSerie
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public sealed class ExcelLineChartSerie : ExcelChartSerieWithErrorBars, IDrawingStyleBase, IDrawingChartErrorBars, IDrawingSerieDataLabel, IDrawingChartMarker, IDrawingChartDataPoints
Properties
DataLabel
Datalabels
Declaration
public ExcelChartSerieDataLabel DataLabel { get; }
Property Value
Type | Description |
---|---|
ExcelChartSerieDataLabel |
DataPoints
A collection of the individual datapoints
Declaration
public ExcelChartDataPointCollection DataPoints { get; }
Property Value
Type | Description |
---|---|
ExcelChartDataPointCollection |
HasDataLabel
If the chart has datalabel
Declaration
public bool HasDataLabel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LineColor
Line color.
Declaration
[Obsolete("Please use Border.Fill.Color")]
public Color LineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The color of the line. |
LineWidth
Gets or sets the width of the line in pt.
Declaration
[Obsolete("Please use Border.Width")]
public double LineWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the line. |
Marker
A reference to marker properties
Declaration
public ExcelChartMarker Marker { get; }
Property Value
Type | Description |
---|---|
ExcelChartMarker |
MarkerLineColor
Marker Line color. (not to be confused with LineColor)
Declaration
[Obsolete("Please use Marker.Border.Fill.Color")]
public Color MarkerLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The color of the Marker line. |
MarkerSize
Gets or sets the size of the marker.
Declaration
[Obsolete("Please use Marker.Size")]
public int MarkerSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The size of the marker. |
Remarks
value between 2 and 72.
Smooth
Smooth lines
Declaration
public bool Smooth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
HasMarker()
If the serie has markers
Declaration
public bool HasMarker()
Returns
Type | Description |
---|---|
System.Boolean | True if serie has markers |