AxisBase.MinorTickMark Property
Gets or sets the minor tick mark position type.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| AxisTickMarkType | The minor tick mark position type. |
Available values:
| 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. |
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