Component interaction

Feedback


MapDashboard WebApp provides components with a wealth of interactive operations to link different components. Thus you can observe and understand data in different ways.

The objects of component interaction can be classified into trigger component and target component. In the trigger component, you can build the interaction between components by setting triggers. In other words, When an event is triggered in the trigger component, such as mouse clicking, data switching, etc., the target component will perform the corresponding target operation, such as highlighting elements in the map component, switching data in the chart component, etc. we'll cover those later as well.

The premise of the interactive operation is that the trigger component and the target component contain the same data, or the data between the components can be associated through a certain field.

Component interaction settings

In the dashboard, follow these steps to set the component interactions:

  1. Select trigger component and add trigger in the right hand interaction panel.
  2. Click 'Add Operation', and select 'Target', 'Target Operation' and 'Target Data Type' in turn, the click 'OK' to complete the interaction setting.

Some triggers also need to set 'Associated Fields', including 'Trigger Layer Field' and 'Target Data Field'. The former refers to the field in the data source of trigger component, and the latter refers to the field in the data source of target component. The trigger component and the target component will be associated through these two fields.

After setting, click element in the trigger component to get the corresponding response in the target component. It supports adding multiple different triggers in one component, as well as setting multiple target actions for one trigger.

Now we'll introduce triggers and target operations in it.

Trigger

The trigger acts as an event listener, when a specific event occurs in the trigger component, the target component will perform the corresponding action. In MapDashboard WebApp, there are seven types of triggers. Here we introduce these triggers and their usage scenarios.

Target Operation

When a specific event occurred in the trigger component, the target component will perform corresponding operation, and this operation can be called target operation. In MapDashboard, There are eight types of target operations. Here we introduce target operations and their usage scenarios.

 Interactive components

Here are the interactive components and interactive operations supported by MapDashboard.

Table 1 Interactive components and interactive operations supported by MapDashboard

Component name Can be used as a trigger component Supported triggers

Can be used as a target component

Supported target operations

Maps

Feature Selection
Bounds Change

Highlight Feature
Switch Data
Add to Map
Zoom to Map
Append Data

Charts

Histogram

Record Selection

Filter Data
Highlight Feature
Switch Data

Bar

Record Selection

Filter Data
Highlight Feature
Switch Data

Pie

Record Selection

Filter Data
Highlight Feature
Switch Data

Scatter

Record Selection

Filter Data
Highlight Feature
Switch Data

Line

Record Selection

Filter Data
Highlight Feature
Switch Data

Radar

Record Selection

Filter Data
Highlight Feature
Switch Data

Gauge

-

-

Display Data
Switch Data

Liquid Fill

-

-

Display Data
Switch Data

ProgressBar

-

-

Display Data
Switch Data

Ring ProgressBar

-

-

Display Data
Switch Data
Common Text

Click

Display Data
Switch Data
Switch Href
Text List

Record Selection

Filter Data
Highlight Feature
Switch Data
Indicator

-

-

Display Data

Switch Data

Image

-

-

Display Data

Video

-

-

Display Data

Slideshow

Slider Switch

Switch Slide

data Range Picker

Date Change

-

-

Data Switcher

Switched Data

-

-

Data Filter

Switched Data

-

-

Time Range

Switched Data

-

-

Time Line

Switched Data

-

-

Time Player

Switched Data

-

-

 

Note: When you use map made in MapStudio WebApp in map component, the point layer using 3D Heat Map, OD, and Graph Map style does not support the following target operations: Highlight feature, Add to map, Zoom to map, Switch data, and Append data.