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

ChartView.Overlap Property

Gets or sets the overlap value between bars or columns in a 2-D Bar or Column chart.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

int Overlap { get; set; }

#Property Value

Type Description
Int32

An integer value that is the percentage of series overlap. This value must be between -100 and 100.

#Remarks

Use the Overlap property to specify the overlap of bars or columns in the same category on a two-dimensional bar or column chart. Note that this option takes effect only when the chart contains more than one series. The default value for this property is 0, so that bars or columns adjoin each other, not overlap.

The following images demonstrate how the Overlap property works for the clustered column chart (the chart is displayed in Microsoft® Excel®)

Overlap = -30% Overlap = 0% Overlap = 30%
SeriesOverlapMinus30 SeriesOverlap0 SeriesOverlap30

Note

This property does not currently affect the 2-D Bar or Column chart because the SpeadsheetControl cannot display overlapped bars or columns. However, this setting is taken into account when a document is exported because this value is stored at the document level.

See Also