MaximumBarsEnabled (Property)

Applies To:

XAxisLabel object, ZAxisLabel object

Description:

Enables multiple views of a rendered chart in the Chart section by scrolling. This property is used with the MaximumBarsDisplayed (Property) , which enables you to define the bars shown per view. The MaximumBarsEnabled (Property) is unavailable for Pie charts.

Action:

Read-write, Boolean

Example:

This example shows how to enable multiple views of a rendered chart and set the number of bars per view at 10:

ActiveDocument.Sections["Chart"].LabelsAxis.XAxis.DisplayViews = true
ActiveDocument.Sections["Chart"].LabelsAxis.XAxis.MaxBarsDisplayed = 10