API / Configuration / ChartYAxisTitle

Defined in: src/types/chart/axis.ts:327

Extends

Properties

Property Type Description
align? ChartAxisTitleAlignment Alignment of the title.
html? boolean Allows to use any html-tags to display the content. The element will be displayed outside the box of the SVG element. Default false
margin? number The pixel distance between the axis labels or line and the title. Default 4 for horizontal axes, 8 for vertical
maxRowCount? number Allows limiting of the contents of a title block to the specified number of lines. Default 1
maxWidth? string | number Interval of the tick marks(absolute or relative to the chart area). For a title with rotation = 0, the relative value is calculated based on the chart width, otherwise on the chart height. The default value for the title with rotation: 0 is 20%, for the rest - not defined.
rotation? ChartAxisTitleRotation Rotation of the title in degrees. Currently, the available values are only for rotation in multiples of 90 degrees. The default values are -90 for the left axis and 90 for the right.
style? Partial<BaseTextStyle> CSS styles for the title
text? string -