Display the current status of entities such as servers by using colored dots and configurable status categories.
Overview
The Status Card is a text widget that displays the current status and related information of an entity, such as a server, using a colored dot. You can configure multiple status categories.
Scenarios
Display status information for multiple categories in a visualization application. For example, show the running status of multiple servers in a cluster.
Demonstration
-
Landscape layout

-
Portrait layout

-
Interaction scenario

Prerequisites
-
Create a data dashboard. You can use a template, use a blank canvas, or use AI to generate one.
-
Your business data is prepared. For more information, see Data Source.
Add a status card
-
Access the DataV console.
-
On the Workbench page, in the Data Dashboards area, hover over the target dashboard and click Edit. The canvas editor opens.
-
In the navigation pane on the left, choose . Click the Status Card widget to add it to the canvas.
You can also use the global search feature to add the widget.
Ingest business data
After you add the widget, connect it to your business data. Click the status card, and then on the Data Source tab in the right-side panel, select the data for the widget.
-
The following table describes the data fields accepted by the Status Card widget.
Field
Description
nameThe text content for each status in the status card.
valueThe status type, represented by the dot before the text. This value must match a Status Type Name configured under . The widget uses the style defined for that status type. If the value does not match any configured Status Type Name, the status is not displayed.
The following shows the data structure and appearance of the sample status card.
[ { "name": "Running", "value": "1" }, [ "Waiting", "2" ], [ "Completed", "3" ], [ "Failed", "4" ] ]
-
This section describes the core configuration items for the data source.
Configuration
Description
Select Data Source
Supports various data types, such as CSV files, APIs, and different databases. For more information, see Supported data source types. Edit data fields in a visual table or in code.
Configure Filter (Optional)
Customize filter code to transform, filter, display, and perform simple calculations on data. For more information, see Manage data filters.
Configure Data Mapping
Map fields from the selected data source to the widget's fields. This enables real-time data matching. Click the
icon to configure field styles.View Response Result
Displays the data connected to the widget in real time. When the widget's data source changes, this section shows the latest data.
-
Click the data response result to view the data field code.
-
Click View Example to see the array type and sample code that the data source accepts. You can write your fields based on the example.
Other data request configurations:
-
Disable Loading State: If you check this box, the widget's initial loading content does not appear when the widget updates or when you preview the data dashboard.
-
Controlled Mode: If you check this box, the widget does not request data when it initializes. Data requests can only be started by the blueprint editor or by global variable events.
-
Auto Update Request: If you check this box, the platform polls for data updates at the interval you set. If you do not check this box, you must refresh the page manually or use the blueprint editor or global variable events to trigger data updates.
-
Configure the status card
Click the Status Card widget to configure its basic style, interaction events, and Blueprint interactions in the right-side panel.
Style configuration
On the Style tab, configure the layout, text style, and dot style of the status card.
You can also click the
icon to find a configuration item by keyword. The search supports fuzzy matching. For more information, see Search for configuration items.
The configuration items are described as follows.
|
Configuration Item |
Description |
Illustration |
|
Global Configuration |
Defines the widget's position, transparency, and interaction passthrough in the data dashboard.
|
|
|
Basic Style Configuration |
Defines the layout of status types (landscape or portrait), the font and color of the status text, and the position and size of dots. If you enable auto-arrange, the widget uses the default single-row landscape layout, which works well with few status types. If you disable it, you can select a landscape or portrait layout and set the number of statuses per row or column. |
|
|
Series Configuration |
Defines the status categories and their dot colors. This determines how many statuses exist and the dot style for each one. Note
The status type value (Value) in the data source serves as the status ID. The Status Type Name in the series configuration maps to the status ID and displays the corresponding status. If the value does not match any configured Value, the status is not displayed. |
|
Advanced Configuration
Define interactions between the status card and other widgets.
|
Configuration Item |
Description |
Diagram |
|
Interaction Event |
Defines interaction behaviors with other widgets to enable filter interactions. For example, use a list carousel to show the status of virtual machines in different regions. By creating an interaction between the list carousel and the status card, clicking a row in the list updates the status card to show the virtual machine status for that region. Click the |
|
Blueprint interaction
Use the Blueprint editor to visually define the interaction logic between widgets by connecting their nodes.
Procedure
-
On the canvas editor page, click the
icon in the upper-left corner of the menu bar to open the Blueprint editor. -
In the layer node list, hover over the Status Card widget and click the
icon to add the widget to the main canvas. -
Connect components with lines to configure their interactions within the blueprint.
The following is an example.

Configuration items
Demo
This demo shows an interaction between a list carousel and a status card that displays virtual machine statuses across regions. Clicking a row in the list carousel dynamically updates the status card.
-
Add widgets to the canvas.
Access the DataV console.
-
Select a data dashboard and click Edit to open the canvas editor.
-
In the widget library in the navigation pane on the left, click the List Carousel and Status Card widgets to add them to the canvas.
-
Configure the list carousel.
-
Modify data access.
Click the list carousel. On the Data Source tab, modify the static data as shown below.

-
Configure the widget style.
On the Style tab, configure the settings as shown below. Set the number of table rows to 3 in the global settings and enable the carousel. Then, modify the labels for the custom columns as follows:
-
Column Field Name: Change the values to "cluster", "vm", and "status" in order.
-
Column Display Name: Change the values to "Cluster", "Virtual Machine", and "Status" in order.

-
-
-
Configure the status card.
-
Modify data access.
Click the status card. On the Data Source tab, modify the static data as shown below.

-
Configure the widget style.
On the Style tab, modify the status categories for the status card as shown below. Configure three statuses: Normal (green), Faulty (red), and Not connected (white).

-
-
Configure the Blueprint interaction.
-
Click the
icon in the upper-left corner of the page to open the Blueprint editor. -
On the Layer Node tab on the left, hover over a component and click the
icon to add it to the canvas.To execute this operation, sequentially add the list carousel and status card components to the main canvas.
-
On the Logic Node tab on the left, hover over the serial data processing node and click the
icon to add it to the main canvas. -
Connect the nodes as shown below. This configuration imports the status from a selected row in the list carousel to the status card.

-
Click the serial data processing node to configure its processing method.

-
-
In the upper-right corner of the page, click Preview to view the result.

icon to configure field styles.



icon to define interaction events and actions.





icon in the upper-left corner of the page to open the Blueprint editor.

