Pie Chart
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
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.
- Choose Log Analysis.
- Enter a query and analysis statement by referring to SQL Analysis Syntax, set the time range, and click Search.
- Click to display the queried data in a pie chart. Set parameters in the General Settings right pane by referring to Table 1.
Figure 1 Pie chart
Table 1 Pie chart parameters Type
Parameter
Description
Standard
Format
Select K,Mil,Bil, 1,000,000, or Byte,KB,MB from the drop-down list to specify the format of the Y axis.
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.
- Pie
A pie chart displays the percentage of each part in the whole. It divides a circle into different sectors. The area (or arc length and center angle) of each sector corresponds to the proportion of the data represented by the sector. In this way, the relationship between each part and the whole is intuitively displayed.
- 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, a 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, a Coxcomb chart is also suitable for displaying data by time period, such as by week and month.
Show Scale
After this function is enabled, text labels are displayed on the pie chart to describe data details, 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.
- Pie
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