HTMLMaxBarsDisplayed (Property)

Applies To:

ChartSection object

Description:

This property, that includes the HTMLMaxXBarsDisplayed and HTMLZBarsDisplayed, sets the number of bars to display per view if multiple views are allowed for a HTML rendered Chart (static and EPM Workspace). These properties are used with the HTMLDisplayViews (Property) .

The HTMLDisplayViews (Property) is unavailable for Pie charts.

If the HTMLSyncScrollingProps (Property) has been set to true, then the HTMLMaxBarsDisplayed properties will be disabled. The HTMLSyncScollingProp (Property) specifies that the maximum number of bars displayed (X and Z directions) for HTML renderings match the corresponding values in the Chart Properties dialog.

Action:

Read-write, Number

Example:

This example shows how to enable multiple views of a rendered chart for the X and Y axis labels, and sets the number of bars per view at ten for the X axis label and twelve for the Z axis label:

ActiveDocument.Sections["Chart"].HTMLSyncScrollingProps = false
ActiveDocument.Sections["Chart"].HTMLDisplayXViews = true
ActiveDocument.Sections["Chart"].HTMLDisplayZViews = true
ActiveDocument.Sections["Chart"].HTMLMaxXBarsDisplayed = 10
ActiveDocument.Sections["Chart"].HTMLMaxZBarsDisplayed = 12