[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.HasSeriesLines

HasSeriesLines Property

HasSeriesLines

Gets or sets whether the chart group has series lines.

Returns true if a stacked column chart or bar chart displays series lines, or if a Pie of Pie chart or Bar of Pie chart displays connector lines between the two sections. This property applies only to stacked column charts, bar charts, Pie of Pie charts, and Bar of Pie charts.

Declaration
bool HasSeriesLines { get; set; }
Property HasSeriesLines As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Category", "Value"},
    {"A", 30},
    {"B", 70}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.BarOfPie, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"]);
chart.ChartGroups[0].HasSeriesLines = true;
bool hasSeriesLines = chart.ChartGroups[0].HasSeriesLines;