[]
Specifies the end cap style for chart error bars.
Use this enum with EndStyle to control whether an error bar is drawn with a cap at its end.
public enum EndStyleCap
Public Enum EndStyleCap
worksheet.Range["A1:B4"].Value = new object[,] {
{55, 964}, {20, 825}, {77, 840}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.XYScatter, 250, 20, 360, 230);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns);
ISeries series = shape.Chart.SeriesCollection[0];
series.HasErrorBars = true;
series.YErrorBar.EndStyle = EndStyleCap.NoCap;
| Name | Description |
|---|---|
| Cap | Specifies that caps are applied. |
| NoCap | Specifies that no caps are applied. |