Skip to content

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

Code Examples

init(
    attributedTitle: NSAttributedString,
    categoryOrder: [String]
)

Source: https://developer.apple.com/documentation/accessibility/axcategoricaldataaxisdescriptor/init(attributedtitle:categoryorder:)