.NET Chart Scale Label Layout

Scale Label Layout

Scale Label Layout is a feature of the control that positions scale labels to prevent overlap. All layouts preserve the origin of the labels and modify their offset, scale, alignment, and/or orientation to achieve this. The control supports common scale label layout strategies, such as stagger, auto scale, and 30/45/90 degree rotation, among others. In addition, this feature works for both value and range scale labels.

Best Practices Scale Label Layout

  • Use rotation at exact angles to prevent overlap: Rotate labels (45° or preferably to 90° to retain readability) when horizontal space is limited, especially for long category names or dates.
  • Apply staggered labels for dense categories. Try to limit the number of stagger levels to two or a maximum of three levels.
  • Enable auto-scaling of labels. This type of scale label layout is used as a last resort when other label layouts fail to resolve the overlapping.
  • Use label trimming as a last resort, especially for category labels as it will prevent the user from reading the full label text.
  • Use wrapping sparingly: Wrap multiline labels only if space allows and readability is maintained.
  • Hide or skip some labels: For very dense axes, use the automatic auto-hide feature to hide every odd or even label to reduce the number of labels.