Class ExcelStandardChartWithLines
Base class for standard charts with line properties.
Inheritance
System.Object
ExcelStandardChartWithLines
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 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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Nullable<System.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(Boolean, Boolean)
Adds up and/or down bars to the chart.
Declaration
public void AddUpDownBars(bool upBars = true, bool downBars = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | upBars | Adds up bars if up bars does not exist. |
System.Boolean | downBars | Adds down bars if down bars does not exist. |
Implements
System.IDisposable