Contents

font(_:)

Sets the default font for text in this axis content.

Declaration

func font(_ font: Font?) -> some AxisMark

Parameters

  • font:

    The default font to use in this axis content.

Mentioned in

Return Value

An axis content that uses the given default font for text.