View Variables¶
View variables play a crucial role in dynamic visual data analysis. They allow users to update visualization results in real-time by changing the value of one or more view variables, enabling dynamic data filtering and analysis based on their needs.
Start Adding¶
- Variable Name: The name of the current view variable set, which needs to be referenced in the chart query when adding a chart to the dashboard. The format is:
#{Variable Name}. - Display Name: The name of the current view variable set displayed in the dashboard. For example, the variable name is
host, and the display name isHost Name. -
Query: Define the query logic for the view variable.
- Sorting: Sort the returned view variables by default, ascending, or descending order.
-
Display Options
-
Hide: When enabled, the variable is not visible in the dashboard in non-edit mode.
-
Multi-value: Allow selecting multiple values simultaneously.
-
Include * Option: Enabled by default.
- Ignore this field filter. The chart query will not include the filter condition for this variable.
- All variable values will be used as filter conditions (up to 100 values). Too much data may affect performance, so use it as needed.
-
-
Default Value: The initial value of the current view variable in the dashboard. The dropdown lists variables based on your configuration in "Display Options," allowing you to select the initial value displayed by default in the dashboard. If the default value is empty, the dashboard displays the latest field data.
Click Select to select all values in the current list.
Note
When workspace data is interrupted, you can preset fields in the view variables. After data recovery, the system will automatically match them.
Manage Variables¶
You can perform the following operations on view variables:
- You can directly clone, edit again, or delete variables.
- If you choose to hide a variable when configuring view variables, the variable will display a hide button on the right side of the list.