[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IErrorBar.EndStyle

EndStyle Property

EndStyle

Gets or sets the end style for the error bar.

The returned value specifies whether the error bar is displayed with caps at its ends.

Declaration
EndStyleCap EndStyle { get; set; }
Property EndStyle As EndStyleCap
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"X", "Y"}, {1, 2}, {2, 4}, {3, 3}};
IChart chart = worksheet.Shapes.AddChart(ChartType.XYScatter, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
chart.SeriesCollection[0].HasErrorBars = true;
chart.SeriesCollection[0].YErrorBar.EndStyle = EndStyleCap.NoCap;
EndStyleCap endStyle = chart.SeriesCollection[0].YErrorBar.EndStyle;