ReportCharts (Collection)

Member of:

ReportHeader object, ReportFooter object, PageHeader object, PageFooter object, Body object

Description:

Represents all smart Chart objects in the Report section.

When you insert a Chart object in the report section, a proportional copy is placed in every band instance. Any chart dropped into a header/footer that is owned by data is focused by that piece of data. Smart Charts are smart because only the corresponding section of the embedded report appears in each band instance.

Example:

This example shows how to count and display in an Alert box the number of smart Chart reports.

Alert(ActiveDocument.Sections["Report"].Body.Charts.Count)

Methods:

Item(NameOrIndex as Name)

Properties:

Read-only: Count as Number

Objects:

ReportChart object