Example - Chart control

This example illustrates configuring the Chart control to display pie, bar and column charts.

  1. Add three Chart controls to a form: Chart 1, Chart 2 and Chart 3.
  2. Configure the chart controls as given in the table.
    Properties Chart 1 Chart 2 Chart 3
    Query Live jobs (Job query) All Work Due Today (Workqueue query) Live jobs (Job query)
    Group by Job process name Activity assigned to Job process version
    Number of segments 10 10 10
    Show chart in 3D
    Refresh interval 0 seconds 0 seconds 0 seconds
    Chart type Bar Pie Column
    Padding 10px, 0px, 150px, 10px 10px, 10px, 10 px, 10px 10px, 0px, 150px, 10px
    Inner padding 22px
    Legend position Right
    Show legend
    Show pie with donut
    Show label
    Label length 20px 20px
  3. Save and release the form.
  4. Open the sample form at runtime.
    The Bar, Pie and Column charts appear as shown below.
    Chart control

    In the above form:

    • Chart 1 is a Bar chart. This chart represents the number of live jobs and their respective job process names. In this case, RPA2 process has 2 jobs, DeployTest has 3 jobs, User Story Implementation has 2 jobs.

    • Chart 2 is a Pie chart. This chart represents the resources to whom the activity is assigned. In this case, 26 activities are assigned to Everyone (Group).

    • Chart 3 is a Column chart. This chart represents the number of live jobs and their respective job process version. In this case, process version 1 has 11 live jobs, version 3 has 5 and version 263 has12 live jobs.