Skip to content

AXCategoricalDataAxisDescriptor

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 an axis of categorical data.

Declaration

class AXCategoricalDataAxisDescriptor

Details

Topics

  • Creating a categorial data axis
  • init(title: String, categoryOrder: [String])
  • init(attributedTitle: NSAttributedString, categoryOrder: [String])
  • Configuring the order of categories
  • var categoryOrder: [String]

Relationships

  • NSObject
  • AXDataAxisDescriptor
  • CVarArg
  • CustomDebugStringConvertible
  • CustomStringConvertible
  • Equatable
  • Hashable
  • NSCopying
  • NSObjectProtocol

See Also

  • Axis representation
  • class AXNumericDataAxisDescriptor

  • Accessibility

  • AXCategoricalDataAxisDescriptor

AXCategorical Data Axis Descriptor

Overview

A categorical data axis divides information into groups, or categories. For example, a categorical axis may represent blood type data divided into the possible categories AB , A , B , and O .

Topics (Grouped)

Creating a categorial data axis

Configuring the order of categories

  • categoryOrder: [String] — var; A list of every category value for the axis in the order they appear visually in the graph or legend.

Inherits From

Conforms To

Axis representation

Code Examples

class AXCategoricalDataAxisDescriptor

Source: https://developer.apple.com/documentation/accessibility/axcategoricaldataaxisdescriptor