A type that serves as the basic building block for the elements of an axis.
Members (3)
method · iOS 16.0+
font
Swift declaration
func font(_ font: Font?) -> some AxisMark
Sets the default font for text in this axis content.
- Parameters:
- font: The default font to use in this axis content.
- Returns: An axis content that uses the given default font for text.