One Logo Pool Ball
Charts · IOS API REFERENCE

AxisValue

struct · iOS 16.0+ · SDK 27.1

struct AxisValue

A value for an axis mark.

Members (3)

method · iOS 16.0+

as

TypeScript
as(type: "Int" | "UInt" | "Double" | "Float" | "String" | "Date" | "Foundation.Decimal"): (unknown) | null
Swift declaration
func `as`<P>(_ type: P.Type) -> P? where P : Plottable
get · iOS 16.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }

The number of values on this axis.

get · iOS 16.0+

index

TypeScript
get index(): number
Swift declaration
var index: Int { get }

The index of the value along the axis.

Skipped declarations

No declarations were skipped in this snapshot.

All Charts types →