Chart with Dynamic Series

This document describes how to create a report with a Chart control bound to data so that all series are automatically created based on a common template, which specifies universal options for all series.

To adjust a Chart with automatically created series, do the following:

  1. Create a new report and bind it to a data source.
  2. Drop the Chart control from the Toolbox onto the report's Detail band.

    eud-chart-static-0

  3. To bind the Chart to a data source, in the Properties Panel, expand the Data category and specify the Data Source property.

    eud-chart-static-series-1

    [!NOTE] Set the report's Data Source property to None after placing the Chart in the Detail band. Otherwise, the Chart repeats at the preview as many times as there are records in the data source.

    eud-chart-static-series-2

  4. Select the Chart control once again and click the Run Designer button displayed over it.

    eud-chart-control-run-designer

  5. In the invoked Chart Designer, select the Chart node in the Chart Structure tree and switch to the Properties panel. Use the Series Data Member property to specify the data field that should provide data for the series names (so that it creates a new series for each record in that data field).

    eud-chart-control-series-data-member

  6. Expand the Series Template option and use the Argument Data Member and Value Data Members properties to define from where to obtain data for point arguments and values.

    eud-chart-control-series-template

At this step, the chart's data options are completely defined. It is also possible to customize other Chart properties.

Switch your report to the Preview mode to view the result.

eud-chart-dynamic-series-3

results matching ""

    No results matching ""