How to: Display Axis Labels Between Tickmarks
To display labels between tickmarks, do the following.
- Set the minor tickmark number to 1 using the axis’ AxisBase.MinorCount property.
- Set the TickmarksBase.MinorLength property of Axis2D.Tickmarks to 5 - this is default length of major tickmarks.
- Hide major tickmarks using the TickmarksBase.Visible property of Axis2D.Tickmarks.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-display-axis-labels-between-tickmarks-t326842