One Logo Pool Ball
Charts · IOS API REFERENCE

AxisMark

protocol · iOS 16.0+ · SDK 27.1

protocol AxisMark

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.

method · iOS 16.0+

offset

Swift declaration
func offset(x: CGFloat = 0, y: CGFloat = 0) -> some AxisMark
method · iOS 16.0+

offset

Swift declaration
func offset(_ offset: CGSize) -> some AxisMark

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AxisMark.foregroundStyle(_:)

The iOS SDK compiler rejected this binding: 'some' types are only permitted in properties, subscripts, and functions

All Charts types →