LabelRotation

The rotation configuration for the axis labels.

align? "end" | "center"

The alignment of the rotated labels relative to the slot center.

The supported values are:

  • "end"
  • "center"

By default, the Charts align the closest end of the label to the center. If set to "center", the center of the rotated label will be aligned instead.

angle? number | "auto"

The rotation angle of the labels. By default, the labels are not rotated. Can be set to "auto". In this case, the labels will be rotated only if the slot size is not sufficient for the entire labels.

 /