HTMLDisplayViews (Property)

Applies To:

ChartSection object

Description:

Includes the HTMLDisplayXViews and HTMLDisplayZViews properties, and enables multiple views of a HTML rendered charts (static and EPM Workspace). This property is used with the HTMLMaxBarsDisplayed (Property), to define the number of bars to show per view.

The HTMLDisplayViews (Property) is unavailable for Pie charts.

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

Action:

Read-write, Boolean

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