Class ExcelStockChartSerie
A serie for a scatter chart
Inheritance
System.Object
ExcelStockChartSerie
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 ExcelStockChartSerie : ExcelChartSerieWithErrorBars, IDrawingStyleBase, IDrawingChartErrorBars, IDrawingSerieDataLabel, IDrawingChartMarker
Properties
DataLabel
Data label properties
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 property")]
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 |
MarkerColor
Marker color.
Declaration
[Obsolete("Please use Marker.Fill")]
public Color MarkerColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The color of the Marker. |
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 for scattercharts
Declaration
public int Smooth { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
HasMarker()
If the serie has markers
Declaration
public bool HasMarker()
Returns
Type | Description |
---|---|
System.Boolean | True if serie has markers |