Vue Chart - argumentAxis.label.overlappingBehavior

Decides how to arrange axis labels when there is not enough space to keep all of them.

Type:

String

|

Object

Default Value: 'hide'
Accepted Values: 'stagger' | 'rotate' | 'hide' | 'none'

When axis labels overlap each other, you can rearrange them by setting the overlappingBehavior option. Depending on whether an axis is horizontal or vertical, this option accepts different values.

NOTE
Unless the rotated option is set to true, the argument axis is horizontal and the value axis is vertical.

The following values can be specified for both horizontal and vertical axes.

  • hide
    Hides certain axis labels leaving more space for the others.
  • none
    Leaves axis labels overlapped.

The following values can be specified for horizontal axes only.

  • rotate
    Rotates axis labels through the angle specified by the rotationAngle option.
  • stagger
    Arranges axis labels in two rows in a staggering manner. An empty space between the rows is specified by the staggeringSpacing option.

Use the OverlappingBehavior enum to specify this option when the widget is used as an ASP.NET MVC Control. This enum accepts the following values: Stagger, Rotate, Hide, and None.

NOTE
Specifying this option with an object as well as with the "enlargeTickInterval" and "ignore" values is deprecated.

View Demo

See Also

mode Deprecated

Use the overlappingBehavior property instead.

Decides how to arrange axis labels when there is not enough space to keep all of them.

Type:

String

Default Value: 'hide'
Accepted Values: 'stagger' | 'rotate' | 'hide' | 'none'

rotationAngle Deprecated

Use the rotationAngle property instead.

Specifies the rotation angle of axis labels. Applies only if the mode option is "rotate".

Type:

Number

Default Value: 90

staggeringSpacing Deprecated

Use the staggeringSpacing property instead.

Adds a pixel-measured empty space between two staggered rows of axis labels. Applies only if the mode option is "stagger".

Type:

Number

Default Value: 5