[]
Gets or sets whether to show the connector lines that connect the end of each column to the beginning of the next column.
The default value is true. This property is valid only for
waterfall charts.
bool ShowConnectorLines { get; set; }
Property ShowConnectorLines As Boolean
worksheet.Range["A1:B5"].Value = new object[,] {
{"Category", "Amount"},
{"Sales", 1200},
{"Returns", -200},
{"Expenses", -300},
{"Profit", 700}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Waterfall, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["B2:B5"]);
ISeries series = chart.SeriesCollection[0];
bool showConnectorLines = series.ShowConnectorLines;