XAxisLabel (Object)
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.
Read-write:, BqTimeAwareIntervalUnit
The BqTimeAwareIntervalUnit constant group consists of these values:
bqTimeAwareDay
bqTimeAwareHour
bqTimeAwareMinute
bqTimeAwareMonth
bqTimeAwarePage
bqTimeAwareSecond
bqTimeAwareValue
bqTimeAwareWeek
bqTimeAwareYear
Note: | The bqTimeAwareValue constant is not applicable to the TimeAwareIntervalScrollType property. |
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