AXDataAxisDescriptor
Category: Protocol
Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+
Overview
The basic interface for a data axis in a chart.
Declaration
protocol AXDataAxisDescriptor : NSCopying
Details
Topics
- Specifying the title
- var title: String
- var attributedTitle: NSAttributedString
Relationships
- NSCopying
- Conforming Types
- AXCategoricalDataAxisDescriptor
- AXNumericDataAxisDescriptor
See Also
- Axis representation
AXData Axis Descriptor
Overview
Each AXChart requires at least two AXDataAxisDescriptor objects to describe an x-axis and a y-axis.
Topics (Grouped)
Specifying the title
- title:String — var; The title of the axis.Required
- attributedTitle:NSAttributedString — var; An attributed version of the axis title.Required
Inherits From
Conforming Types
Axis representation
- AXCategoricalDataAxisDescriptor — class; An object that represents an axis of categorical data.
- AXNumericDataAxisDescriptor — class; An object that represents an axis of numerical data.
Code Examples
protocol AXDataAxisDescriptor : NSCopying
Source: https://developer.apple.com/documentation/accessibility/axdataaxisdescriptor