Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

UpDownBarsOptions.GapWidth Property

Gets or sets the space between the up-down bars on a 2-D line or stock chart as a percentage of the bar width.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

int GapWidth { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the gap width. This value must be between 0 and 500.

#Property Paths

You can access this nested property as listed below:

Object Type Path to GapWidth
ChartView
.UpDownBars .GapWidth

#Remarks

Note

Currently, the SpeadsheetControl does not display 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