Pie Charts
A pie chart shows the proportion of different categories. Different categories are compared by radian. A pie is divided into multiple sectors based on the proportion of each category. The entire pie indicates the total volume. Each sector indicates the proportion of the category to the total. The sum of all sectors is 100%. A pie chart contains the following elements:
- Sector
- Text percentage
- Legend
Type
LTS provides three types of pie charts: default pie chart, cyclic chart, and Coxcomb chart.
- Cyclic
Essentially, a cyclic chart hollows out the center of a pie chart. Cyclic charts are better than pie charts in the following aspects:
- Cyclic charts display more information such as the total number.
- It is not intuitive to compare two pie charts directly. You can compare two cyclic charts by the cyclic bar length.
- Coxcomb
A Coxcomb chart is not a cyclic chart in essence. Instead, it is a bar chart drawn in the polar coordinate system. Each category is evenly divided by an arc. The radius of the arc indicates the data size. Coxcomb charts are better than pie charts in the following aspects:
- A pie chart can contain a maximum of 10 categorized data records, while a Coxcomb chart can contain 10 to 30 data records.
- Because the radius and area are squared, the Coxcomb chart magnifies the difference between the values of each category. It is suitable for comparing the values of similar sizes.
- Due to the periodicity of a circle, the Coxcomb chart is also suitable for displaying data by time period, such as by week and month.
Checking Pie Charts
- Log in to the LTS console.
- In the navigation pane on the left, choose Log Management. The Log Management page is displayed.
- On the Log Management page, select the target log group and log stream. The log stream details page is displayed.
- On the log stream details page, enter the query and analysis statements, choose 15 minutes(From now), and set the query and analysis time range.
- Select Visualization and click .
- Configure pie chart parameters and view the pie chart.
Type
Parameter
Description
Standard
Format
Displays the Y axis in the specified format.
Unit
Customize the unit of the Y axis.
Decimal Places
Sets the number of decimal places to be displayed.
Title Font Size
Sets the font size of the chart title.
Pie Chart
Pie Chart Type
Includes pie, cyclic, and Coxcomb charts.
Show Scale
After this function is enabled, the text label on the pie chart is displayed, which can be used to describe the data information of the chart, such as the value and name.
Scale Text
This parameter can be set to Category, Percent, Category: %, or Category: Value (%).
Label Position
After Show Scale is enabled, you can set this parameter to adjust the position of the label in the chart.
Query/Analysis
Value
Specifies the value corresponding to the categorized data.
Layer 1 Data
Category
Specifies the categorized data.
Display as Sectors
Specifies the number of pie sectors to be displayed.
Sort By
Specifies the ascending or descending order.
Display Rest as Others
Specifies whether to display the data of other types as Other.
Add Layer
Click Add Layer and set the data of the second layer. The data of each layer includes the category, display sectors, sorting mode, and displaying rest sectors as others.
Legend
Hide Legend
After this function is enabled, you can hide the legend and its content.
Legend
Select Value or Percent, or both.
Legend Position
Position of the legend in the chart. Select Top or Right.
Graphics
Outer Radius
Specifies the outer radius of the pie chart. The value ranges from 40 to 100.
Inside Radius
Specifies the inside radius of the pie chart. The value ranges from 0 to 100.
Top Margin
Specifies the distance between the axis and the upper boundary of the graph.
Bottom Margin
Specifies the distance between the axis and the lower boundary of the graph.
Left Margin
Specifies the distance between the axis and the left boundary of the graph.
Right Margin
Specifies the distance between the axis and the right boundary of the graph.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot