Font

interface Font

All the font properties needed to draw text.

Fonts properties are hierarchically defined in the configuration.

You can first define them in the root configuration (@see ChartConfig) and then the child configuration (AxisConfig, LegendConfigImpl, MarkConfig, TooltipConfigImpl) will use the same by default.

Properties

fontColor
Link copied to clipboard
common
abstract var fontColor: Color
The font Color.
fontFamily
Link copied to clipboard
common
abstract var fontFamily: FontFamily
The font family (FontFamily).
fontSize
Link copied to clipboard
common
abstract var fontSize: Double
The font size.
fontStyle
Link copied to clipboard
common
abstract var fontStyle: FontPosture
The font posture (FontPosture): italic or normal.
fontWeight
Link copied to clipboard
common
abstract var fontWeight: FontWeight
The font weight (FontWeight): bold or normal.

Inheritors

AxisConfig
Link copied to clipboard
ChartConfig
Link copied to clipboard
LegendConfig
Link copied to clipboard
MarkConfig
Link copied to clipboard
TitleConfig
Link copied to clipboard
TooltipConfig
Link copied to clipboard