init(attributedTitle:categoryOrder:)
Category: Initializer
Platforms: iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+
Overview
Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
Declaration
init(
attributedTitle: NSAttributedString,
categoryOrder: [String]
)
Details
See Also
- Creating a categorial data axis
-
init(title: String, categoryOrder: [String])
-
Accessibility
- AXCategoricalDataAxisDescriptor
- init(attributedTitle:categoryOrder:)
init(attributed Title: category Order:)
Topics (Grouped)
Creating a categorial data axis
- inittitle:String,categoryOrder: [String]) — (; Creates a categorical data axis with the specified title and an array of categories in the specified order.
Code Examples
init(
attributedTitle: NSAttributedString,
categoryOrder: [String]
)