For finer grained control of the data source than you have with preconfigured data sources, create a local data instance. Then bind the local data instance to the dataPassthrough property of the data
visualization.
프로시저
-
Open the technical dashboard or other UI Builder page in UI Builder.
-
In the Data and scripts drawer, under Data resources, select + Add data resource.
-
In the Select a data resource window, search for Data visualization.
You get a selection of the data resources you can use.

-
Select a data resource that matches the type of data you want to show.
-
Read through the information pane and copy or take notes on the configuration details.
-
Select Add.
-
Complete the configuration options that you need for the type of visualization with which you plan to use this data instance.
Create and configure a separate local data instance for every type of visualization that you want to use the same data. For example, if you plan to have a bar and a time series that show scores from the same indicator,
create two local data instances: one each for bar and time series visualizations, but both on the same indicator.
팁: You can add the data visualization to the page and compare its configuration panel to the options for the local data instance.
-
Copy the
@data data bind for this data source.
-
Add the desired data visualization component to the page.
-
In the configuration panel for that data visualization, in the Data sources section, turn on Define data manually.
-
For the Data field, select Bind data or use scripts.
-
In the Bind data to Data dialog, under Data types, select Data resource.
-
Double-click in the Add a data output to this area section and paste the data bind to your local data instance into the blue box.
-
Append .output.result at the end of the data bind.
For example, the completed data bind to the local data instance data_visualization_api_for_table_data_source_1 is
@data.data_visualization_api_for_table_data_source_1.output.result.

-
Select Apply.
결과
You have created a local data instance and bound it to a data visualization. You can now complete the configuration of your data visualization.