Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Chart

  • Last UpdatedOct 18, 2024
  • 4 minute read

Use Chart control to view a chart in your form.

Properties

The properties for the control are grouped under the following tabs:

Basic

Property

Description

Name

Name that identifies the control. This value is also used for the label of the control.

Description

Description for the control.

Lookup Source

Name of the item in the Lookup List.

To add a name of the item in the Lookup List for the control

  1. Click the Lookup Source button. The Lookup Source Configuration page appears.

  2. In the Data Source Type list, click a data source type.

  3. In the Data Source box, click a data source.

  4. In the Parameters list, click and select a control on the form, if applicable.

  5. In the X-Axis list, click a data series with unique values for the category (horizontal) axis.

  6. In the Y-Axis list, click one or more integer or numeric data series for the value (vertical) axis.

  7. Click Save & Continue. The selected name is set for the control and the Lookup Source Configuration page is closed.

    To configure the Lookup Source for Sankey chart, see Lookup Source Configuration for Sankey Chart.

    Note:
    - Parameterized and non-parameterized lookups are supported for Database. Only non-parameterized lookups are supported for Web API.
    - To render donut or pie chart, only one integer or numeric data series should be selected for the y-axis of the chart.
    - For information about Lookup List, see List Lookups.

Appearance

Property

Description

Visible

Show or hide the control.

  • Select Yes to show the control.

  • Select No to hide the control.

    The default value is Yes.

Label Position

Position of the label for the control.

  • Select Default to allow the system to align the label. The system aligns the label to the left of the control or as specified by the container control.

  • Select Left to align the label to the left of the control.

  • Select Top to align the label to the top of the control.

  • Select Right to align the label to the right of the control.

  • Select Bottom to align the label to the bottom of the control.

  • Select Suppress to hide the label for the control.

    The default value is Default.

Note:
- If the value is Default and the control is placed on a container control, then the value of the Label Position property of the container control determines the position of the label for the control.
- For example, if the value is Default and the control is placed on a Base Form with Label Position property set to Top, then the label is aligned to the top of the control.

Label-Control Area

Area occupied by the label and the control in percentage.

  • Select Default to allow the system to set the label and the control areas.

  • Select Custom to specify the label area. The control area is automatically set based on the label area.

    The default value is Default.

Note:
- If the value is Default and the control is placed on a container control, then the value of the Label-Control Area property of the container control determines the area of the label for the control.
- This is applicable only when the Label Position is set to Left or Right.

Width

Width in pixels for the control.

The default value is 0.

Note: If the value is 0, then the width of the control is set as per the default values.

Height

Height in pixels for the control.

The default value is 450.

Note: If the value is 0, then the height of the control is set as per the default values.

Retain Space

Reserve or remove space when the control is hidden.

  • Select Yes to keep space when the control is hidden.

  • Select No to remove space when the control is hidden.

    The default value is No.

Chart Type

Type of chart for the control.

  • Select Area Chart to show area chart for the control.

  • Select Bar Chart to show bar chart for the control.

  • Select Donut Chart to show donut chart for the control.

  • Select Line Chart to show line chart for the control.

  • Select Pie Chart to show pie chart for the control.

  • Select Sankey Chart to show a flow from one set of values to another.

  • Select Scatter Chart to show scatter chart for the control.

    The default value is Area Chart.

Note:
- To render donut or pie chart, only one integer or numeric data series should be selected for the y-axis of the chart.
- For Sankey chart, the chart type has to be selected before selecting the Datasource.
- In Work Tasks Pro app, the Sankey Chart does not appear correctly within a base form container on small form devices in portrait mode.
- If a Bar chart's (or similar chart type) x-axis has a numerical range with many small and large values, bars for the smaller values may overlap. For better clarity, use a scatter chart, adjust the value ranges, or convert numerical values to strings using lookup settings.

Show Axis Titles

Show or hide the axis titles for the control.

  • Select Yes to show the axis titles for the control.

  • Select No to hide the axis titles for the control.

    The default value is Yes.

Show Legend

Show or hide the legend for the control.

  • Select Yes to show the legend for the control.

  • Select No to hide the legend for the control.

    The default value is Yes.

Sankey Chart Node Unit

Displays the unit used for Sankey chart nodes.

Advanced

Property

Description

ID

Reference identification code for the control. This value is automatically generated and cannot be changed.

Scripts

For information about using scripts, see scripting guidelines for Chart control.

Note: In Work Tasks Pro app, the chart is rendered after sampling down the data to 1000 points, if the data exceeds 1000 points.

TitleResults for “How to create a CRG?”Also Available in