AxisTickMarkType Enum
Lists values used to specify the position of the tick marks on the axis.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Members
| Name | Description |
|---|---|
Cross
|
Specifies that the tick marks should cross the axis. |
Inside
|
Specifies that the tick marks should be displayed inside the plot area. |
None
|
Specifies that the tick marks should not be displayed on the axis. |
Outside
|
Specifies that the tick marks should be displayed outside the plot area. |
Related API Members
The following properties accept/return AxisTickMarkType values:
Example
Use the Axis.MajorTickMark and Axis.MinorTickMark properties to specify the tick mark type for major and minor ticks. Possible values are None, Inside, Outside, and Cross:
using DevExpress.Docs.Office;
CategoryAxis? xAxis = chart.ArgumentAxis as CategoryAxis;
if (xAxis != null) {
xAxis.MajorTickMark = AxisTickMarkType.Cross;
xAxis.MinorTickMark = AxisTickMarkType.Inside;
}
See Also