Skip to main content

UpDownBarsOptions.DownBars Property

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

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

ShapeFormat DownBars { 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 DownBars
ChartView
.UpDownBars .DownBars

Remarks

Use the DownBars property to customize down 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