edit-icon download-icon

Edit data source

Last Updated: Jul 10, 2018

After adding a data source, you can configure data and visualization widgets in the project editor. In addition, you can add a filter to the data source or set the interval for automatic updates.

Configure a widget with data source

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.

    DataEditMenu

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

    SelectDataType

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

    DataEditSample

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.

DataMatched

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.

AddFilter

Procedure

  1. To open the filter editing menu, click Add filter.

  2. Select Use Filter.

    UseFilter

  3. To see available filters, click Select Filter. If no filter available, you must create a filter by following the instructions.

    SelectFilter

  4. Click New Filter to open the New Filter menu.

  5. Enter a name for the filter.

  6. Edit filter scripts based on the needs for displaying data.

    CreateFilter

    • 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.

UpdateData

Thank you! We've received your feedback.