Click or drag to resize

IChartFormat FirstDropBar Property

Returns object that represents first drop bar.
Examples
The following code illustrates how to access FirstDropBar:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create chart and set range</para><para>IChart chart = worksheet.Charts.Add();</para><para>chart.DataRange = worksheet.Range["A1:C3"];</para><para>//Set chart type</para><para>chart.ChartType = ExcelChartType.Line;</para><para>//Set chart drop bar</para><para>IChartDropBar dropBar = chart.Series[0].Format.Options.FirstDropBar;</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IChartDropBar FirstDropBar { get; }

Property Value

Type: IChartDropBar
See Also