XCategory (Object)

Member of:

CategoryItems collection

Description:

Represents a Chart X axis. This object's properties directly affect the display of the X axis and the X Categories in the Outliner.

Example:

This example shows how to sort by facts for Quarter X categories:

ActiveDocument.Sections["BooksChart"].XCategories["Quarter"].SortByFact()

Methods:

Hide(), SortByFact(FactName by String, SortFunction BqSortFunction, [optional] BqSortOrder SortOrder), SortByLabel{[optional] SortOrder as BqSortOrder }

Properties:

Read-only: Property Name as String, SortFactName as String, SortFunction as Number, SortOrder as Number