MaximumBarsDisplayed (Property)

Applies To:

XAxisLabel object, ZAxisLabel object

Description:

Sets the number of bars to display per view if multiple views are allowed in the Chart section. This property is used with the MaximumBarsEnabled (Property) , which enables the multiple views option. The MaximumBarsDisplay (Property) is unavailable for Pie charts.

Action:

Read-write, Numeric

Example:

This example shows how to enable multiple views of a chart in the Chart section, and how to set the maximum bars displayed value to 10 bars:

ActiveDocument.Sections["Chart"].LabelsAxis.XAxis.MaximumDisplayViews = true
ActiveDocument.Sections["Chart"].LabelsAxis.XAxis.MaximumBarsEnabled = 10