init(title: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 title and an array of categories in the specified order.
Declaration
init(
title: String,
categoryOrder: [String]
)
Details
See Also
- Creating a categorial data axis
-
init(attributedTitle: NSAttributedString, categoryOrder: [String])
-
Accessibility
- AXCategoricalDataAxisDescriptor
- init(title:categoryOrder:)
init(title: category Order:)
Topics (Grouped)
Creating a categorial data axis
- initattributedTitle:NSAttributedString,categoryOrder: [String]) — (; Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
Code Examples
init(
title: String,
categoryOrder: [String]
)