One Logo Pool Ball
Charts · IOS API REFERENCE

AxisMarkValues

struct · iOS 16.0+ · SDK 27.1

struct AxisMarkValues

Describes the values the axis markers will present (one for each value).

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.

static · iOS 16.0+

stride

TypeScript
static strideByRoundLowerBoundRoundUpperBound(stepSize: number, roundLowerBound?: (boolean) | null, roundUpperBound?: (boolean) | null): AxisMarkValues
Swift declaration
static func stride<P>(by stepSize: P, roundLowerBound: Bool? = nil, roundUpperBound: Bool? = nil) -> AxisMarkValues where P : BinaryFloatingPoint

Creates values with the given number step.

static · iOS 16.0+

stride

TypeScript
static strideByCountRoundLowerBoundRoundUpperBoundCalendar(component: _Foundation_Calendar_Component, count?: number, roundLowerBound?: (boolean) | null, roundUpperBound?: (boolean) | null, calendar?: (_Foundation_Calendar) | null): AxisMarkValues
Swift declaration
static func stride(by component: Calendar.Component, count: Int = 1, roundLowerBound: Bool? = nil, roundUpperBound: Bool? = nil, calendar: Calendar? = nil) -> AxisMarkValues

Creates values with the given calendar unit.

static · iOS 16.0+

automatic

TypeScript
static automaticDesiredCountRoundLowerBoundRoundUpperBound(desiredCount?: (number) | null, roundLowerBound?: (boolean) | null, roundUpperBound?: (boolean) | null): AxisMarkValues
Swift declaration
static func automatic(desiredCount: Int? = nil, roundLowerBound: Bool? = nil, roundUpperBound: Bool? = nil) -> AxisMarkValues

Automatically determines the values for the markers, approximating the target number of values.

static · iOS 16.0+

automatic

TypeScript
static automaticMinimumStrideDesiredCountRoundLowerBoundRoundUpperBound(minimumStride: number, desiredCount?: (number) | null, roundLowerBound?: (boolean) | null, roundUpperBound?: (boolean) | null): AxisMarkValues
Swift declaration
static func automatic<P>(minimumStride: P, desiredCount: Int? = nil, roundLowerBound: Bool? = nil, roundUpperBound: Bool? = nil) -> AxisMarkValues where P : BinaryFloatingPoint
get · iOS 16.0+

automatic

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

Automatically determines the values for the markers of the axis.

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →