[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.DownBars

DownBars Property

DownBars

Gets the down bars for a line chart group.

The returned IChartBars object represents the bars drawn for points where one line series decreases relative to another. This property applies only to line charts.

Declaration
IChartBars DownBars { get; }
ReadOnly Property DownBars As IChartBars
Examples
worksheet.Range["A1:C4"].Value = new object[,] {
    {"Month", "Planned", "Actual"},
    {"Jan", 10, 14},
    {"Feb", 18, 12},
    {"Mar", 15, 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Line, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C4"], RowCol.Columns, true, true);
IChartGroup chartGroup = chart.LineGroups[0];
chartGroup.HasUpDownBars = true;
IChartBars downBars = chartGroup.DownBars;