Skip to main content
A newer version of this page is available. .
All docs
V21.2
.NET Framework 4.5.2+

ErrorBarsCollection.Add(ErrorBarType, ErrorBarDirection) Method

Adds a new error bar to the series.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

ErrorBarsOptions Add(
    ErrorBarType barType,
    ErrorBarDirection barDirection
)

Parameters

Name Type Description
barType ErrorBarType

An enumeration value that indicates the error bar type.

barDirection ErrorBarDirection

An enumeration value that indicates the error bar direction.

Returns

Type Description
ErrorBarsOptions

An object that contains options for the error bar.

Remarks

Note

The ErrorBarsCollection has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats, and visualized in Microsoft Excel.

See Also