[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPoint.IsTotal

IsTotal Property

IsTotal

Gets or sets whether the point is a total data point.

This property is valid only for points in a waterfall chart.

Declaration
bool IsTotal { get; set; }
Property IsTotal As Boolean
Examples
worksheet.Range["A1:B6"].Value = new object[,] {{"Category", "Value"}, {"Start", 130}, {"Increase", 25}, {"Decrease", -75}, {"Subtotal", 80}, {"End", 140}};
IChart chart = worksheet.Shapes.AddChart(ChartType.Waterfall, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B6"]);
IPoint point = chart.SeriesCollection[0].Points[3];
bool isTotal = point.IsTotal;