Vue Chart - commonAxisSettings.title

Configures axis titles.

Selector: DxTitle
Type:

Object

Usually, an axis title displays units of measurement for values displayed by an axis. However, you can display any needed text in the axis title.

DevExtreme HTML5 Charts AxisTitles

The commonAxisSettings.title object, which is described here, specifies common settings for all axis titles in the chart. To configure only the axis title that belongs to a particular axis, use the following objects.

Axis-specific settings override common settings.

See Also
  • argumentAxis.title.text - specifies the text of the title for the argument axis.
  • valueAxis.title.text - specifies the text of the title for the value axis.

alignment

Aligns the axis title to the left, center, or right of the axis.

Type:

String

Default Value: 'center'
Accepted Values: 'center' | 'left' | 'right'

font

Specifies font properties for the axis title.

Selector: DxFont
Type:

Object

margin

Adds a pixel-measured empty space between the axis title and axis labels.

Type:

Number

Default Value: 6

DevExtreme HTML5 Charts AxesTitleMargin

textOverflow

Specifies what to do with the axis title when it overflows the allocated space after applying wordWrap: hide, truncate them and display an ellipsis, or do nothing.

Selector: text-overflow
Type:

String

Default Value: 'ellipsis'
Accepted Values: 'ellipsis' | 'hide' | 'none'

wordWrap

Specifies how to wrap the axis title if it does not fit into a single line.

Selector: word-wrap
Type:

String

Default Value: 'normal'
Accepted Values: 'normal' | 'breakWord' | 'none'

The following modes are available:

  • "normal"
    Text breaks only at allowed breakpoints (for example, a space between two words).

  • "breakWord"
    Words can be broken if there are no available breakpoints in the line.

  • "none"
    Word wrap is disabled.

If the text overflows the container even after word wrap, the UI component applies the textOverflow property.