Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
Huawei Cloud Astro Canvas
Huawei Cloud Astro Zero
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Huawei Cloud Astro Canvas/ User Guide/ Widgets/ Getting Started with Widgets

Getting Started with Widgets

Updated on 2025-03-24 GMT+08:00

What Is a Widget?

A widget is a reusable page element. A page consists of one or more widgets. Each widget of a page is like a block in a jigsaw game.

A widget runs depending on libraries. If a library is missing, the widget cannot run properly. For pages that require the frontend framework or widget library, for example, the popular Vue, Boot Strap, and Element UI, convert these dependencies into library assets and upload them to the environment.

The widgets are classified into the following types:

  • Preset widgets

    Preset widgets are defined in the system and can be directly dragged to the development page. For details, see Widgets.

  • Custom widgets

    Custom widgets are self-developed by tenants. Generally, the development process is as follows: Select a system widget template and download it to the local. Develop and upload it to the widget library. For details, see Description of Custom Widgets and Custom Widget Development Specifications.

    Upload a custom widget to the widget library via My Assets > Widgets. Then set the display scenario for large screens and PCs or for mobile devices. The widget will only appear on the page after this setting is completed.

    Figure 1 Uploading custom widgets

Widgets

This section outlines the supported widget types to help you quickly locate and efficiently develop large screens. The platform supports the following widget types. For details, see Widgets. If preset widgets do not meet your requirements, you can create custom widgets and upload them to the platform. For details, see Description of Custom Widgets.

ECharts widgets are currently available only for professional and enterprise instances.

Figure 2 Widgets

General Settings

On a page, click a widget in the canvas. The configuration panel, for example, Figure 3, is displayed above the widget. The configuration menus of widgets are classified into seven types: card, metric, graphic, legend, tooltip, reference line, and coordinate. The display varies according to widgets.

Figure 3 Widget configuration item panel
  • A card wraps a chart widget. A widget consists of card elements (card title, chart, card background, and card border) and chart elements.
  • A graphic is a specific graphical expression element that visualizes data in a widget. For example, a graphic can be a slice in a pie chart, a bar in a bar chart, or a line or an inflection point in a line chart.
  • A legend shows the dimensions in a multi-dimensional visualized graphic expression.
  • Tooltip (floating prompt) displays metrics of specific dimension nodes in a visualized chart widget.
  • Metrics provide supplementary text and number information to a graphic in a widget.
  • You can set the style, color, position, and behavior of the coordinate system for a chart widget.
  • Reference lines are visual markers to help you compare data on charts.

Widget Data Source

A widget is an element of a large screen page. Configuring a page is configuring widget data. Select a widget and click above the widget to configure the data source. For details, see Data Access.

Figure 4 Configuring widget data

Widget Interaction

The platform provides the event-action mechanism for interactions between widgets and between widgets and pages. For details, see Interaction Configuration.

Figure 5 Interaction between widgets

Theme Color of a Widget

You can use themes to change visual effects with one click. Related effects include decorative elements, chart colors, and font colors. The platform provides different theme colors.

Figure 6 Theme color (large screens and PCs)
Figure 7 Theme color (mobile)

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback