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

Snake Pie Chart

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

A snake pie chart is a type of pie chart widget. When the pie chart is loaded, it is rendered in the gluttonous snake animation style.

On the large screen design page, drag the snake pie chart widget from All > Chart to the blank area of the canvas, as shown in Figure 1.

Figure 1 Snake Pie Chart
Figure 2 Margin style

Card

A card wraps a chart widget. A widget consists of card elements (card title, chart, card background, and card border) and chart elements.

Figure 3 Snake pie chart card
  • Card style: You can select a card style based on your service requirements. You can click the clear style button to clear the configured style.
  • Title
    • Title: Whether to display the widget title.
    • Content: Widget title.
    • Font: Font, size, and color of the widget title.
    • Align: Alignment mode of the title relative to the widget.
    • Background color: Background color of the title.
    • Padding: Distance between the title and the four sides of the widget box, in pixels by default.
      Figure 4 Padding
    • Title offset: Distance between the widget title and the snake pie chart.
      Figure 5 Title offset
  • Background
    • Background color: Background color of the widget card.
    • Border: Border of the widget card. Options: no border, full border, and corner border. For full border and corner border, you can set the line type and rounded corners of the outer border of the widget.
    • Style: Image display style. The options are normal, center, stretch, and tiled.
    • Choose image: Use a local image as the widget background. Directories and subdirectories can be added to facilitate image management by category. JPG, JPEG, PNG, and GIF images are recommended. Each image cannot exceed 50 MB.
  • Special effect: Widget highlighted status. Displayed by default or on page load.
  • Padding: Distance between the chart and the four sides (top, bottom, left, and right) of the widget (see Figure 2). The default value is 0, indicating that the chart spreads across the widget.
  • Round corner: Round corners of the border. The radian of the four corners ranges from 0 to 500, in pixels.
  • Chart background: Background color of the chart.
  • Chart title: Whether to display the chart title. If you set it to display, you can customize the title content, font, size, and color.

Graphic

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.

Figure 6 Snake pie chart graphic
  • Color: Color of the chart graphic in the widget.
  • Unified configuration
    • Data series: Whether to display the data series. If this is not selected, the corresponding series of data is hidden from the widget.
    • Nightingale rose chart: Whether to use the Nightingale rose chart.
    • Inner radius (%): Inner radius of the pie chart.
    • Outer radius (%): Outer radius of the pie chart.
    • Horizontal coordinate of the circle center (%): Horizontal coordinate of the circle center of the pie chart.
    • Vertical coordinate of the circle center (%): Vertical coordinate of the circle center of the pie chart.
    • Arrangement sequence: Slices can be arranged clockwise or anticlockwise.
    • Starting angle: The start angle of a sector. The value range is from 0 to 100.
    • Minimum angle: Minimum angle of a sector. The value range is from 0 to 100.
    • Hover effects: Whether a slice stands out on hover.
    • All label settings: Whether to display labels.
    • All label hover settings: Whether to display labels on hover.
    • Label position: inside, outside, or in the middle.
    • Display visual guide line: Configure guide lines for a label.
    • Guide line length: Length of the label lead line.
    • Label content: Whether to display the data value, percentage, and series name on the label.
    • Label text: Font color, size, thickness, and series of the label.
    • Stroke: Stroke style of the pie chart series and the overall chart.
    • Background: Whether to configure the background of the pie chart.
  • Data Series
    • Series name: Default series name in the raw data. You can change the series name by configuring the display name.
    • Display name: Display name of the series in the chart.
    • Subscript: Location of the data series.
    • Initially selected: Whether a data item is initially selected.
    • Color style: Color style of the data series. The following color styles are supported:
      • Monochrome: Normal colors and highlighted colors are available.
      • Gradient color: You can set gradient style, gradient direction, start color, and end color.
      • Texture: If this parameter is set to texture, upload a texture image. You can set the texture of all data items to be duplicate or unique.
    • Common label: Label when no data series is selected.
      • Display series name: Whether to display a series name in a label, for example, "Engineering Management".
      • Display data value: Whether to display a data value in a label, for example, the data value 635 corresponding to engineering management.
      • Whether to display the percentage: Whether to display the percentage in a label. For example, the percentage corresponding to engineering management is 67.2%.
      • Common label font: Font, color, and size of labels.
    • Highlight label: Label when a data series is selected.
      • Display series name: Whether to display a series name in a label, for example, "Engineering Management".
      • Display data value: Whether to display a data value in a label, for example, the data value 635 corresponding to engineering management.
      • Whether to display the percentage: Whether to display the percentage in a label. For example, the percentage corresponding to engineering management is 67.2%.
      • Highlight label font: Font, color, and size of labels.

Legend

A legend shows the dimensions in a multi-dimensional visualized graphic expression.

Figure 7 Snake pie chart legend
  • Unified configuration
    • Legend: Whether to display legends, such as "Engineering Management" and "Environment Management". The legend text content comes from the value of s in the data model.
    • Horizontal alignment: Horizontal alignment mode of the legend, which can be left, center, right, and by percentage.
    • Vertical alignment: Vertical alignment mode of the legend, which can be top, center, bottom, and by percentage.
    • Arrangement direction: Arrangement direction of the legend, which can be horizontal and vertical.
    • Type: There are many legends. As a result, not all legends can be displayed in the chart. In this case, you can set the legend type, that is, whether to view legends by scrolling pages or by line break. If this parameter is set to "Scroll", you can set the width and height of the page turning arrow, default icon color, icon selection color, and page number front.
    • Total width and height of legend: Set the width and height of the legend. The unit is %.
    • Legend item width: Set the width of the legend. The width can be automatically set or customized.
    • Legend spacing: Space between legends.
  • Legend marks
    • Legend marks: Shape of the icon before the legend.
    • Mark width and height: Width and height of the icon before the legend.
  • Legend series name
    • Font: Font, color, and size of legends.
    • Legend character: Number of characters displayed in the legend. You can select full display or ellipsis. If this parameter is set to "Ellipsis", you can set the number of characters displayed in the legend.
  • Data value: Whether to display number in the legend. If this parameter is set to "Show", you can set the following parameters.
    • Font: Font, size, and color of the number in the legend.
    • Value left spacing: Space between the series name and data.
    • Prefix: Whether to display the prefix before the number.
    • Prefix content: Set the prefix content to be displayed.
    • Prefix font: Font, size, and color of the prefix.
    • Prefix right spacing: Space between the prefix and the number.
    • Suffix: Whether to display the suffix after the number.
    • Suffix content: Set the suffix content to be displayed.
    • Suffix font: Font, size, and color of the suffix.
    • Suffix left spacing: Space between the suffix and the number.
  • Percentage: Whether to display the percentage. If this parameter is set to "Show", you can set the following parameters.
    • Digital font: Font, size, and color of the number in the percentage.
    • Percent font: Font, size, and color of the % in the percentage.
    • Percent left spacing: Space between the number and percentage.

Tooltip

Tooltip (floating prompt) displays metrics of specific dimension nodes in a visualized chart widget.

Figure 8 Snake pie chart tooltip
  • Tooltip display: After this function is enabled, the information is displayed when you place the cursor on a specific series during chart preview.
  • Feature marker: Content in the tooltip box, such as series name, data value, and percentage. Only one or two of them can be displayed.

Data

In the data settings, you can set the data source of the snake pie chart widget. For more information, see Data Access.

Interaction

In the interaction settings, you can configure the interaction between the snake pie chart and other widgets or pages. For more information, see Interaction Configuration.

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