TimeAwareIntervalScrollType (Property)

Applies To:

XAxisLabel (Object)

Description:

Reads or sets the value in the Labels Axis “Scrolling” region “at every n interval” dropdown on the Label Axis tab. That is, it specifies whether to use a page or a date/time value when scrolling through a fixed number of intervals for the Time Aware axis. The TimeAwareIntervalScrollType (Property) uses the BqTimeAwareIntervalUnit constant group. The property persists with the document/application.

Action:

Read-write:, BqTimeAwareIntervalUnit

Constants:

The BqTimeAwareIntervalUnit constant group consists of these values:

Note:

The bqTimeAwareValue constant is not applicable to the TimeAwareIntervalScrollType property.

Example:

This example shows how to enable the scrolling for the Time Aware axis. It also shows how to enable the Time Aware axis, and to set the scrolling interval type to a maximum of five days.

ActiveDocument.Sections["UnitProdLineChart"].LabelsAxis.XAxis.TimeAwareOn = true
ActiveDocument.Sections["UnitProdLineChart"].LabelsAxis.XAxis.TimeAwareScrollEnabled = true
ActiveDocument.Sections["UnitProdLineChart"].LabelsAxis.XAxis.TimeAwareScrollIntervalType = bqTimeAwareDay
ActiveDocument.Sections["UnitProdLineChart"].LabelsAxis.XAxis.TimeAwareScrollMaxDisplayed = 5