---
title: "init(attributedTitle:categoryOrder:)"
framework: accessibility
role: symbol
role_heading: Initializer
path: "accessibility/axcategoricaldataaxisdescriptor/init(attributedtitle:categoryorder:)"
---

# init(attributedTitle:categoryOrder:)

Creates a categorical data axis with the specified attributed title and an array of categories in the specified order.

## Declaration

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

## See Also

### Creating a categorical data axis

- [init(title:categoryOrder:)](accessibility/axcategoricaldataaxisdescriptor/init(title:categoryorder:).md)
