Initializing help system before first use

To Repeat a Chart Series for each Element in a Set

You can create a chart series per element in a set. If you have array entities with two or more index sets you can use vdl-repeat over one of the index sets and create a series per element.

  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. On the artboard, select the Chart Series. In the Attributes pane:
    • Set Label to "index.label"
    • Set Repeat to "=index in scenario.entities.MY_SET"
  5. In the Palette > Components group, click and drag an Index Filter element onto the 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").
<vdl-chart>
    <vdl-chart-series entity="MY_ARRAY" vdl-repeat="=item in scenario.entities.MY_SET" labels="item.label">
        <vdl-index-filter set="MY_SET" value="item.value"></vdl-index-filter>
    </vdl-chart-series>
</vdl-chart>

© 2001-2020 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.