Skip to content

AXNumericDataAxisDescriptor

Category: Class

Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+

Overview

An object that represents an axis of numerical data.

Declaration

class AXNumericDataAxisDescriptor

Details

Topics

  • Creating a numeric data axis
  • convenience init(title: String, range: ClosedRange, gridlinePositions: [Double], valueDescriptionProvider: (Double) -> String)
  • convenience init(attributedTitle: NSAttributedString, range: ClosedRange, gridlinePositions: [Double], valueDescriptionProvider: (Double) -> String)
  • Specifying the value description
  • var valueDescriptionProvider: (Double) -> String
  • Configuring the axis scale
  • var scaleType: AXNumericDataAxisDescriptor.ScaleType
  • enum ScaleType
  • Configuring the axis range
  • var range: ClosedRange
  • Configuring the gridlines
  • var gridlinePositions: [Double]

Relationships

  • NSObject
  • AXDataAxisDescriptor
  • CVarArg
  • CustomDebugStringConvertible
  • CustomStringConvertible
  • Equatable
  • Hashable
  • NSCopying
  • NSObjectProtocol

See Also

  • Axis representation
  • class AXCategoricalDataAxisDescriptor

  • Accessibility

  • AXNumericDataAxisDescriptor

AXNumeric Data Axis Descriptor

Topics (Grouped)

Creating a numeric data axis

Specifying the value description

Configuring the axis scale

Configuring the axis range

  • range:ClosedRange — var; A range that defines the minimum and maximum displayable values for the axis.

Configuring the gridlines

Inherits From

Conforms To

Axis representation

Code Examples

class AXNumericDataAxisDescriptor

Source: https://developer.apple.com/documentation/accessibility/axnumericdataaxisdescriptor