[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.DropLines

DropLines Property

DropLines

Gets the IChartLines object that represents the drop lines for the chart group.

Declaration
IChartLines DropLines { get; }
ReadOnly Property DropLines As IChartLines
Examples
worksheet.Range["A1:C4"].Value = new object[,] {
    {"Month", "North", "South"},
    {"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.HasDropLines = true;
IChartLines dropLines = chartGroup.DropLines;
dropLines.Format.Line.Color.RGB = Color.Blue;