Help Center/ Huawei Cloud Astro Canvas/ User Guide/ Interaction Configuration/ Controlling Response Actions Through Parameters
Updated on 2025-03-24 GMT+08:00

Controlling Response Actions Through Parameters

When setting widget interaction actions, you can select event parameters, global variables, or fixed values to specify the types of parameters that can be transferred.

Controlling Response Actions Through Parameters

  1. Create a large screen project by referring to Creating a Large Screen and PC Project.
  2. Create a blank page, for example, page 1, by referring to the operations in Creating a Page Using an Empty Canvas, and drag the solid pie chart and drop-down list box to the page.
  3. Select a solid pie chart and click . The interaction setting page is displayed.
  4. Set the interaction action between the solid pie chart and the drop-down list box.

    1. In the As Trigger area, click + Interaction Event, and select Click Event.
    2. In Response Actions, click + Response Actions and select Widget Action.
    3. In Action Details, set the response action.

      In this example, you can select event parameters to control the value change of the widget. That is, when you click a data series in the solid pie chart, the value in the drop-down list box changes accordingly.

      Figure 1 Setting the action details
    4. Click the confirm button.

  5. Click to save the page and click to preview the effect.