Skip to main content

UpDownBarsOptions.UpBars Property

Provides access to formatting options for the up bars displayed on the 2-D line and stock charts.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

ShapeFormat UpBars { get; }

Property Value

Type Description
ShapeFormat

A ShapeFormat object containing options to format chart elements.

Property Paths

You can access this nested property as listed below:

Object Type Path to UpBars
ChartView
.UpDownBars .UpBars

Remarks

Use the UpBars property to customize up bar appearance (to specify the bar color and adjust border settings).

The Open-High-Low-Close and Volume-Open-High-Low-Close stock charts display up-down bars by default. To add these bars to a two-dimensional line chart with multiple series, set the UpDownBarsOptions.Visible property to true. If you try to display up-down bars on a chart that does not support them, an exception occurs.

Note

Currently, the SpeadsheetControl does not display the up-down bars on a line chart and does not allow you to change the bar properties on a stock chart. However, display settings are loaded and stored in supported formats, and you can modify them programmatically.

See Also