Vizzu / types/styles / AxisLabel
Interface: AxisLabel
Style settings for the values shown on the axis to display the scale being used or the categories along the axis. Note: textAlign has no effect on the Axis label.
Extends
Properties
angle?
optional
angle:null
|Angle
Additional rotation of the label.
Inherited from
color?
optional
color:null
|Color
The color of the displayed text.
Inherited from
fontFamily?
optional
fontFamily:null
|string
The family of the font. If not set, it inherits the root style font family.
Inherited from
fontSize?
optional
fontSize:null
|Length
The size of the font. Percentage values are relative to the root style font size.
Inherited from
fontStyle?
optional
fontStyle:null
|"normal"
|"italic"
|"oblique"
The style of the font.
Inherited from
fontWeight?
optional
fontWeight:null
|number
|"bold"
|"normal"
The weight of the font, numbers use the same scale as CSS.
Inherited from
maxFractionDigits?
optional
maxFractionDigits:null
|number
The maximum number of digits in fraction part if the text contains a number.
Inherited from
OrientedLabel
.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
numberScale?
optional
numberScale:null
|string
Number scale used for prefixed number format.
Inherited from
orientation?
optional
orientation:null
|"normal"
|"horizontal"
|"vertical"
|"tangential"
Orientation of the label relatively to the axis or marker it is attached to.
Inherited from
paddingBottom?
optional
paddingBottom:null
|Length
Bottom padding of the element.
Inherited from
paddingLeft?
optional
paddingLeft:null
|Length
Left padding of the element.
Inherited from
paddingRight?
optional
paddingRight:null
|Length
Right padding of the element.
Inherited from
paddingTop?
optional
paddingTop:null
|Length
Top padding of the element.
Inherited from
position?
optional
position:null
|"axis"
|"max-edge"
|"min-edge"
Label position relatively to the plot.
side?
optional
side:null
|"positive"
|"negative"
Label alignment relatively to the position on the plot.
textAlign?
optional
textAlign:null
|"center"
|"left"
|"right"
The alignment of the displayed text.
Inherited from