After adding a data source, you can configure data and visualization widgets in the project editor. 

It is recommended to edit the data source on the Canvas Editor page. In addition, you can add a filter to the data source or set the interval for automatic updates.

Procedure

  1. Log on to the DataV console.
  2. To create a new project, click Projects > Create Project.
  3. Select a template and click Create.
  4. Select a widget on the canvas.
  5. Click the Data tab on the right side and open the data editing menu of the selected widget.

  6. To see more source types, click the Data Source Typedrop-down list. Select a source type that you need, for example, Static Data.

  7. Edit the content of the data source according to the sample in the following figure.

Mapping

In most cases, the system can automatically match the categories and values of a data source to complete data mapping.  For complex cases, you must manually enter fields to complete data mapping.

After data are mapped successfully, the system displays Matched Successfully.

Add filter

You can add a data filter to a data source to display the data in a clearer manner.

Deselect to hide the filter function.

  1. To open the filter editing menu, click Add filter.
  2. Select Use Filter.

  3. To see available filters, click Select Filter

    If there is an optional filter, the filter name is automatically displayed in the list. If no filter is available, you must create a filter by following the instructions.

  4. Click New Filter.
  5. Enter a name for the filter.
  6. Edit filter scripts based on the needs for displaying data.

    • To preview the effect of the data filter, click Preview.
    • To cancel the current filter settings, click Cancel.
    • To complete adding filter, click OK.

Automatic updates

You can automatically update data through the automatic updates function by entering the interval for updates.

Deselect Auto Data Request to hide the automatic updates function.