Designing a Chart with Dynamic Values

  1. Design a workflow.
  2. From the General section, drag and drop a Script task.
  3. In the Script task window, under Properties, define a Script to get a list of values for the chart.
  4. From the User Interface section, drag and drop a Chart task.
  5. In the Chart task window, under Properties, select the chart type as Pie and enter or select the field information.
  6. Enter the chart Title (mandatory field) and Description and select the Legend position.
  7. Under Configuration, refer the global variable to render data.
  8. Connect the workflow tasks and from the menu on the top, click Preview.
    Chart with dynamic values is displayed.
    Note: You can view this chart as a Donut chart by selecting the option from the View by dropdown.