EndStyle Property Example

This example adds error bars with no end caps to the specified series.

Set eb = ChartSpace1.Charts(0).SeriesCollection(0).ErrorBarsCollection.Add
eb.Amount = 0.1
eb.EndStyle = ChartSpace1.Constants.chEndStyleNone