This sample shows ticks in various positions such as inside, middle, and outside. Additionally, the position of the ticks can be customized using offset.
In this example, you can see how to render and configure ticks in the linear gauge. The position and offset properties in majorTicks and minorTicks are used to position the ticks as well as provide offset.
More information on the ticks can be found in this documentation section.