Click or drag to resize

IChartFormat SecondDropBar Property

Returns object that represents second drop bar.
Examples
The following code illustrates how to access SecondDropBar:
<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 first drop bar</para><para>IChartDropBar dropBar = chart.Series[0].Format.Options.FirstDropBar;</para><para>//Set chart second drop bar</para><para>dropBar = chart.Series[0].Format.Options.SecondDropBar;</para>

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

Property Value

Type: IChartDropBar
See Also