One Logo Pool Ball
Charts · IOS API REFERENCE

AxisMarkPosition

struct · iOS 16.0+ · SDK 27.1

struct AxisMarkPosition

Describes the position of axis markers.

Members (6)

get · iOS 16.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 16.0+

top

TypeScript
static get top(): AxisMarkPosition
Swift declaration
static var top: AxisMarkPosition { get }

A markers at the top of the chart

get · iOS 16.0+

bottom

TypeScript
static get bottom(): AxisMarkPosition
Swift declaration
static var bottom: AxisMarkPosition { get }

A markers at the bottom of the chart

get · iOS 16.0+

leading

TypeScript
static get leading(): AxisMarkPosition
Swift declaration
static var leading: AxisMarkPosition { get }

Markers on the leading edge of the chart.

get · iOS 16.0+

trailing

TypeScript
static get trailing(): AxisMarkPosition
Swift declaration
static var trailing: AxisMarkPosition { get }

Markers on the trailing edge of the chart.

get · iOS 16.0+

automatic

TypeScript
static get automatic(): AxisMarkPosition
Swift declaration
static var automatic: AxisMarkPosition { get }

automatically places the title.

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →