ErrorBars Interface
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

ErrorBars Interface

Represents the error bars on a chart series.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("194F8476-B79D-4572-A609-294207DE77C1")> _
Public Interface ErrorBars
Dim instance As ErrorBars

Error bars indicate the degree of uncertainty for chart data. Only series in area, bar, column, line, and scatter groups on a 2-D chart can have error bars. Only series in scatter groups can have x and y error bars. This object isn’t a collection. There’s no object that represents a single error bar; you either have x error bars or y error bars turned on for all points in a series or you have them turned off.

The ErrorBar(XlErrorBarDirection, XlErrorBarInclude, XlErrorBarType, Object, Object) method changes the error bar format and type.

Use the ErrorBars property to return the ErrorBars object. The following example turns on error bars for series one of the first chart in the active document and then sets the end style for the error bars.

© 2016 Microsoft