Updated on 2022-02-22 GMT+08:00

Using Static Data Sources

When using static data sources, you do not need to create data connections. You can directly paste static data in JSON format to the data editing page.

Using Static Data

  1. Log in to the DLV console and click the Screens tab.
  2. On the Screens page, locate the screen to be edited and click on the screen. The screen development page is displayed.

    Figure 1 Editing a screen

  3. Select a component, for example, a bar chart. The component is displayed in the canvas. Click the component and then the Data panel on the right of the page.
  4. On the Data panel, set Data Source Type to Static data.

    Figure 2 Static data source

  5. Paste static data in JSON format to the data editing area.

    Figure 3 Pasting static data

  6. Configure field mapping. In this example, x is mapped to x, y to y, and s to s. Click on the right of s to add two series values (1 and 2) and set different colors for them.

    Figure 4 Configuring mapping and color

  7. View the effect of the configured screen component.

    Figure 5 Screen effect