XFacts (Collection)

Member of:

ChartSection object

Description:

The XFacts (Collection) is a collection of XFact objects, each of which represents a fact object on the X axis of a scatter or bubble chart.

Example:

This example show how to remove “Unit Sales” and add “Amount Sales”.

ActiveDocument.Sections["Chart2"].XFacts.Remove("Unit_Sales")
ActiveDocument.Sections["Chart2"].XFacts.Add("Amount_Sales")

Methods:

Add(Item Name as String), AddComputedItem(Name as String, Expression as String, [optional] Index as Number), Item(Value as Name or Index), Remove(Value as Name or Index), RemoveAll()

Properties:

Read OnlyAxisType as BQChartAxisType constant, Count as Number

Constants:

The AxisType (Property) uses the BqChartAxisType constant group, which consists of these values: