Initializing help system before first use

# To Repeat all Chart Series for each Element in a Set

You can repeat each series in a Chart per element in a set.
If all the series in a Chart have two or more index sets you can use `vdl-repeat-contents` over one of the common index sets and repeat all the series per element in the set. The series will be grouped each element in the set.

1. In the Palette > Components group, click and drag a Chart element onto the artboard.
2. In the first page of the wizard, select the Data > Entity that will be displayed in the chart (MY_ARRAY).
3. Click FINISH.
4. Drag a Repeat Contents element onto the Chart on the artboard and enter the following in the repeat expression field:

       =item in scenario.entities.MY_SET

5. In the Palette > Components group, click and drag an Index Filter element onto each Chart Series.
6. Select the Index Filter element on the artboard, and in the Attributes pane:
   - Edit the Set attribute to select the dataset. (MY_SET).
   - Edit the Value attribute to specify the value to display in the table column (`=item.value`).

Code editor

    <vdl-chart vdl-repeat-contents="=item in scenario.entities.MY_SET">
        <vdl-chart-series entity="MY_ARRAY" labels="item.label">
            <vdl-index-filter set="MY_SET" value="item.value"></vdl-index-filter>
        </vdl-chart-series>
    </vdl-chart>

Parent Topic The vdl-repeat-contents attribute

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.