Initializing help system before first use

# To Repeat all Chart Series over each Scenario

Using a `vdl-repeat-contents` component, you can create a multi-scenario chart that repeats all the chart series per scenario on the shelf.
The chart series will be grouped by scenario.

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 component onto the Chart on the artboard and enter the following in the repeat expression field:

       =s,i in scenarios

Code editor

    <vdl-chart title="Service Level Agreements" vdl-repeat-contents="=s,i in scenarios">
        <vdl-chart-series type="bar" entity="MY_ARRAY" scenario="=i"></vdl-chart-series>
        <vdl-chart-series type="bar" entity="MY_ARRAY2" scenario="=i"></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.