One Logo Pool Ball
Charts · IOS API REFERENCE

AxisTick

struct · iOS 16.0+ · SDK 27.1

struct AxisTick

A mark that a chart draws on an axis to indicate a reference point along that axis.

Members (2)

init · iOS 16.0+

init

TypeScript
static initCenteredLengthStroke(centered: (boolean) | null, length: number, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisTick
Swift declaration
nonisolated init(centered: Bool? = nil, length: CGFloat, stroke: StrokeStyle? = nil)

Creates an axis tick with the given properties. - Parameters: - centered: Whether to center the grid line between two axis values. - length: The length of the tick. - stroke: The style of the stroke.

init · iOS 16.0+

init

TypeScript
static initCenteredLengthStroke60252(centered?: (boolean) | null, length?: AxisTick_Length, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisTick
Swift declaration
nonisolated init(centered: Bool? = nil, length: AxisTick.Length = .automatic, stroke: StrokeStyle? = nil)

Creates an axis tick with the given properties. - Parameters: - centered: Whether to center the grid line between two axis values. - length: The length of the tick. - stroke: The style of the stroke.

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →