Axis.CrossPosition Property
Gets or sets a value that specifies where the value axis crosses the category axis on a 2-D chart.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
AxisCrossPosition CrossPosition { get; set; }
#Property Value
Type | Description |
---|---|
Axis |
An Axis |
Available values:
Name | Description |
---|---|
Between |
Specifies that the value axis should cross the category axis between data markers. |
On |
Specifies that the value axis should cross the category axis at the midpoint of a category. |
#Remarks
Use the CrossPosition property to specify whether the value axis should cross the category axis between categories or on categories. Note that this property affects the appearance of a chart only if it is set for the value axis.
The table below shows how the CrossPosition property works (the chart is displayed in Microsoft® Excel®).
chart. |
chart. |
---|---|
![]() |
![]() |
Note
The Cross
property has no effect on the visual appearance of a chart when the document is loaded in the Spreadsheet