One Logo Pool Ball
Charts · IOS API REFERENCE

AxisGridLine

struct · iOS 16.0+ · SDK 27.1

struct AxisGridLine

A line that a chart draws across its plot area to indicate a reference point along a particular axis.

Members (1)

init · iOS 16.0+

init

TypeScript
static init(centered?: (boolean) | null, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisGridLine
Swift declaration
nonisolated init(centered: Bool? = nil, stroke: StrokeStyle? = nil)

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

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →