Add Method (WCErrorbarsCollection Collection)

         Example         Applies To

Adds error bars to a series. Creates a new, uninitialized WCErrorBars object and adds it to the specified WCErrorBarsCollection collection. A chart can contain only one set of error bars; this means that an xy scatter chart can contain either x or y error bars, but not both.

Syntax

expression.Add

expression   An expression that returns a WCErrorbarsCollection object.