Partager via


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

  • Amount
    Type: System.Object

    Optional Object. The error amount. Used for only the positive error amount when Type is xlErrorBarTypeCustom.

  • MinusValues
    Type: System.Object

    Optional Object. The negative error amount when Type is xlErrorBarTypeCustom.

Return Value

Type: System.Object

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.Excel Namespace