Skip to content

AxisValueLabelOrientation

EnumChartGuruChartGuru
public enum AxisValueLabelOrientation

Apple Swift Charts AxisValueLabelOrientation mirror. Forces a specific rotation for axis tick labels, overriding the Auto-rotate “fit?” branch in the renderer. Automatic keeps existing behavior.

Maps to ChartGuru.LabelRotation when applied:

  • Automatic -> use `ChartGuru.LabelRotation.Auto`
  • Horizontal -> `ChartGuru.LabelRotation.Horizontal`
  • Vertical -> `ChartGuru.LabelRotation.Left90` (reading bottom-to-top)
  • VerticalReversed -> `ChartGuru.LabelRotation.Right90` (reading top-to-bottom)

Automatic = 0

Returns

ChartGuru.AxisValueLabelOrientation

Horizontal = 1

Returns

ChartGuru.AxisValueLabelOrientation

Vertical = 2

Returns

ChartGuru.AxisValueLabelOrientation

VerticalReversed = 3

Returns

ChartGuru.AxisValueLabelOrientation