AXDataSeriesDescriptor
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 a series of data points.
Declaration
class AXDataSeriesDescriptor
Details
Topics
- Creating a data series
- init(name: String, isContinuous: Bool, dataPoints: [AXDataPoint])
- init(attributedName: NSAttributedString, isContinuous: Bool, dataPoints: [AXDataPoint])
- Naming the series
- var name: String?
- var attributedName: NSAttributedString
- Configuring the data points
- var isContinuous: Bool
- var dataPoints: [AXDataPoint]
- class AXDataPoint
Relationships
- NSObject
- CVarArg
- CustomDebugStringConvertible
- CustomStringConvertible
- Equatable
- Hashable
- NSCopying
- NSObjectProtocol
See Also
- Data representation
AXData Series Descriptor
Topics (Grouped)
Creating a data series
- initname:String,isContinuous:Bool,dataPoints: [AXDataPoint]) — (; Creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.
- initattributedName:NSAttributedString,isContinuous:Bool,dataPoints: [AXDataPoint]) — (; Creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.
Naming the series
- name:String? — var; The name of the data series.
- attributedName:NSAttributedString — var; An attributed version of the data series name.
Configuring the data points
- isContinuous:Bool — var; A Boolean value that determines whether the data series is continuous.
- dataPoints: [AXDataPoint] — var; The data points that the series contains.
- AXDataPoint — class; An object that represents a single data point in a chart.
Inherits From
Conforms To
- CVarArg
- CustomDebugStringConvertible
- CustomStringConvertible
- Equatable
- Hashable
- NSCopying
- NSObjectProtocol
Data representation
- AXDataPoint — class; An object that represents a single data point in a chart.
Code Examples
class AXDataSeriesDescriptor
Source: https://developer.apple.com/documentation/accessibility/axdataseriesdescriptor