Series.ErrorBar Method
Applies error bars to the series. Object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function ErrorBar ( _
Direction As XlErrorBarDirection, _
Include As XlErrorBarInclude, _
Type As XlErrorBarType, _
Amount As Object, _
MinusValues As Object _
) As Object
'Usage
Dim instance As Series
Dim Direction As XlErrorBarDirection
Dim Include As XlErrorBarInclude
Dim Type As XlErrorBarType
Dim Amount As Object
Dim MinusValues As Object
Dim returnValue As Object
returnValue = instance.ErrorBar(Direction, _
Include, Type, Amount, MinusValues)
Object ErrorBar(
XlErrorBarDirection Direction,
XlErrorBarInclude Include,
XlErrorBarType Type,
Object Amount,
Object MinusValues
)
Parameters
Direction
Type: Microsoft.Office.Interop.Excel.XlErrorBarDirectionRequired XlErrorBarDirection. The error bar direction.
Include
Type: Microsoft.Office.Interop.Excel.XlErrorBarIncludeRequired XlErrorBarInclude. The error bar parts to include.
Type
Type: Microsoft.Office.Interop.Excel.XlErrorBarTypeRequired XlErrorBarType. The error bar type.
Amount
Type: System.ObjectOptional Object. The error amount. Used for only the positive error amount when Type is xlErrorBarTypeCustom.
MinusValues
Type: System.ObjectOptional Object. The negative error amount when Type is xlErrorBarTypeCustom.
Return Value
Type: System.Object