Vizzu / types/styles / AxisTitle
Interface: AxisTitle
Style settings of the Axis title
Extends
Properties
color?
optional
color:null
|Color
The color of the displayed text.
Inherited from
Label.color
fontFamily?
optional
fontFamily:null
|string
The family of the font. If not set, it inherits the root style font family.
Inherited from
Label.fontFamily
fontSize?
optional
fontSize:null
|Length
The size of the font. Percentage values are relative to the root style font size.
Inherited from
Label.fontSize
fontStyle?
optional
fontStyle:null
|"normal"
|"italic"
|"oblique"
The style of the font.
Inherited from
Label.fontStyle
fontWeight?
optional
fontWeight:null
|number
|"bold"
|"normal"
The weight of the font, numbers use the same scale as CSS.
Inherited from
Label.fontWeight
maxFractionDigits?
optional
maxFractionDigits:null
|number
The maximum number of digits in fraction part if the text contains a number.
Inherited from
Label.maxFractionDigits
numberFormat?
optional
numberFormat:null
|"none"
|"grouped"
|"prefixed"
The format of the number. Only applicable for texts showing numerical data such as marker and axis labels. 'grouped' uses thousand separators (e.g. 1 234 567), 'prefixed' uses scientific notation (e.g. 1.234k).
Inherited from
Label.numberFormat
numberScale?
optional
numberScale:null
|string
Number scale used for prefixed number format.
Inherited from
Label.numberScale
orientation?
optional
orientation:null
|"horizontal"
|"vertical"
The orientation of the title.
paddingBottom?
optional
paddingBottom:null
|Length
Bottom padding of the element.
Inherited from
Label.paddingBottom
paddingLeft?
optional
paddingLeft:null
|Length
Left padding of the element.
Inherited from
Label.paddingLeft
paddingRight?
optional
paddingRight:null
|Length
Right padding of the element.
Inherited from
Label.paddingRight
paddingTop?
optional
paddingTop:null
|Length
Top padding of the element.
Inherited from
Label.paddingTop
position?
optional
position:null
|"axis"
|"max-edge"
|"min-edge"
Title position relatively to the plot.
side?
optional
side:null
|"positive"
|"negative"
|"upon"
Title alignment relatively to the position on the plot.
textAlign?
optional
textAlign:null
|"center"
|"left"
|"right"
The alignment of the displayed text.
Inherited from
Label.textAlign
vposition?
optional
vposition:null
|"end"
|"middle"
|"begin"
Title position on the axis or edge.
vside?
optional
vside:null
|"positive"
|"negative"
|"upon"
Title alignment on the axis or edge.