XAxisLabel object
Sets the discrete X-Axis into a continuous data fact axis, and arranges and plots timestamp values on a continuous line of time. A Time Aware Axis is an axis considered as a time scale with its minimum and maximum bounds. The data is arranged along the axis according to the matching time values. The distance between adjacent axis items is proportional to their time value difference: a non-Time Aware Axis presents all the items using the same distance between them. The Time Aware feature only implements an alternative visualization of source data and does not affect the way how the data is aggregated and computed items are calculated. That is, the data processing in chart section which includes dividing data into categories and calculating fact data does not depend on whether the Time Aware feature is activated. In particular, behavior of the “Chart This Pivot”, “Pivot This Chart” and “Add Computed Item” actions do not change. This property is only functional when the X-axis has a category of date/time type to display. In this case, it automatically becomes a dedicated Time Scale Category. In addition, no other categories can be on the X-Axis. Adding multiple categories on X-Axis makes the property inactive.
Read-write:, Boolean
This example shows how to enable the Time Aware axis feature.
ActiveDocument.Sections["Chart2"].LabelsAxis.XAxis.TimeAwareOn = true