Scale Ticks

Scale ticks are typically displayed as short lines perpendicular to the axis direction, marking important values at regular intervals. Most scales support major and minor ticks, which are used to enhance the axis decoration. The chart has full control over the generation of these ticks, offering different modes for automatic tick generation. Additionally, it allows customization of the ticks' appearance, including their shape, fill, and stroke.

Best Practices Scale Label Layout

  • Ensure ticks are easily distinguishable against the chart background.
  • Differentiated major and minor ticks: Make major ticks longer or thicker than minor ticks to indicate importance (this is the default).
  • Limit the number of ticks using the provided automatic tick count and step algorithms of the control.
  • Use a tick color that matches the axis ruler and apply a different tick color only to highlight specific data ranges on the axis (for example, using scale sections).