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
Managed Threat Detection
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
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Horizontal Capsule Bar

Updated on 2024-06-21 GMT+08:00

The horizontal capsule bar is a type of bar chart, which is used to compare data of different series. This section describes parameters of a horizontal capsule bar.

Figure 1 Horizontal capsule bar

Pattern

  • Size/Position
    • Size: width and height of the component. Unit: pixel.
    • Position: position where the component is located in the canvas. Unit: pixel.
  • Global Style

    Font: font of the text.

  • Column Style
    • Column Width: width of the column.
    • Padding: distance between the capsule and the border line
    • Border Color: color of the border line of the capsule.
    • Border Width: width of the border line of the capsule. Unit: pixel.
    • Background Color: fill color of the column.
    Figure 2 Column style of a horizontal capsule bar
  • Margin
    • Top: spacing between the top sides of the chart and the component layer. You can enter a value or click to adjust the spacing.
    • Bottom: spacing between the bottom sides of the chart and the component. You can enter a value or click to adjust the spacing.
    • Left: spacing between the left sides of the chart and the component. You can enter a value or click to adjust the spacing.
    • Right: spacing between the right sides of the chart and the component. You can enter a value or click to adjust the spacing.
  • Value Tag: to show or hide the value tag. Figure 3 shows the value tags.

    The value tag has the following configuration items:

    • Font Size: font size of the value tag.
    • Color: font color of the value tag.
    • Font Width: font width of the value tag.
    • Position: position where the value tag is displayed.
    • Distance: distance display based on the position of the value tag. Unit: pixel.
    Figure 3 Value tags of a horizontal capsule bar
  • X Axis: to show or hide the X axis. When this option is selected, you can set the X axis style.
    • Font Size: font size of the axis label text.
    • Font Color: font color of the axis label text.
    • Font Width: font width of the axis label text.
    • Angle: tilt angle of the axis label text.
    • Axis Label: to show or hide the axis labels. When this function is enabled, you can set the following parameters:
      • Display Format: display format of the scale value on the axis.
      • Min. Value: the minimum value of the axis. You can enter a value or select a value from the drop-down list. When this parameter is set to the minimum value, the start value of the axis is the minimum value in the current data.
      • Max. Value: the maximum value of the axis. You can enter a value or select a value from the drop-down list. When this parameter is set to the maximum value, the start value of the axis is the maximum value in the current data.
      • Scales: intervals of data items on the coordinate axis.
    • Axis Unit: to show or hide the axis unit. When this function is enabled, the axis unit is displayed on the right of the X axis. The unit can be displayed only when Right under Margin is set to a value greater than or equal to 40.
      • Unit: unit of the coordinate axis, for example, kilometer, byte/second, or GB.
      • Color: font color of the text.
    • Coordinate Axis: to show or hide the axis. You can set the color of the axis when you select this option.
    • Grid Line: to show or hide the grid lines. You can set the color of the grid lines when you select this option.
    Figure 4 X axis of a horizontal capsule bar chart
  • Y Axis
    • Font Size: font size of the axis label text.
    • Font Color: font color of the axis label text.
    • Font Width: font width of the axis label text.
    • Angle: tilt angle of the axis label text.
    • Coordinate Axis: to show or hide the axis. You can set the color of the axis when you select this option.
    • Grid Line: to show or hide the grid lines. You can set the color of the grid lines when you select this option.
    Figure 5 Y axis of a horizontal capsule bar chart
  • Legend: to show or hide the legend. When this option is selected, you can set the legend style.
    • Font Size: font size of the legend text.
    • Color: font color of the legend text.
    • Font Width: font width of the legend text.
    • Layout
      • Direction: direction of the legend.
      • Position: position of the legend.
      • Left/Right Spacing: distance between the legend and the left boundary of the component. This parameter does not take effect when Position is set to Top center or Bottom center.
      • Left/Right Spacing: distance between the legend and the top boundary of the component.
      • Legend Spacing: distance between two adjacent legends.
    Figure 6 Legends of a horizontal capsule bar chart
  • Message: to show or hide the prompt information. After this function is enabled, a message is displayed when you mouse over or click on the screen during the screen preview.
    • Color: font color of the message.
    • Font Size: font size of the message.
    • Font Width: font width of the message.

Data

Figure 7 Data of a horizontal capsule bar chart
  • Data Source Type: Select the data source of the chart. Multiple data sources are provided for you to select. You need to add data sources first. For details, see Data Connection Overview.
  • Converter: Select a converter to convert data into the data that meets the display requirements. For details, see Using a Converter.
  • Data Mapping: The data format consists of the following fields:
    • x: category, corresponding to the X axis. The data type of this field must be the same as that of the X Axis.
    • y: data, corresponding to the Y axis.
    • s: series. You can set a value of the s field to a series. You can add multiple series. The value of each series can be mapped to different Y coordinates.

      Click on the right of s to add a series. To delete an added series, click on the right of the series.

      Add a series as follows:

      • Series Value: Enter a value of the s field. If the series value is empty, the value of the corresponding s field is used by default.
      • Series Name: self-definable. If the series name is empty, the series value is used as the series name by default.
      • Color: color of the column in the series.
        Figure 8 Series of a horizontal capsule bar chart
  • Automatic Update: If you select Automatic Update and set Update Interval, the data is automatically updated based on the interval.
  • Preview Result: Click Preview Result to view the information about the selected data source. You can click Update Query to manually update the component data when the data source changes.

Interaction

For details about whether the component supports the interaction function and how to use the interaction function, see Configuring Component Interaction.

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