Bar Chart
A bar chart uses vertical or horizontal bars to compare values between categories. It shows the data of different categories and counts the number of elements in each category.
The bar chart provided by LTS consists of vertical bars and horizontal bars. The width of the rectangle block is fixed, and the height indicates the value. When multiple columns of data are mapped to the Y axis, the data is displayed in group columns.
By default, vertical bars are used. You can select either vertical or horizontal bars. A bar chart contains the following elements:
- X axis (horizontal axis)
- Y axis (vertical axis)
- Rectangular block
- Legend
Checking Bar 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 bar chart. Set parameters in the General Settings right pane by referring to Table 1.
Figure 1 Bar chart
Table 1 Bar chart parameters 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.
Bar Chart
Direction
Select Bar chart or Horizontal bar chart.
Column Width
Sets the column width.
Display Value
After this function is enabled, the value indicated by each bar is displayed.
Font Size
Sets the font size of each bar.
Stacked
After this function is enabled, the Y axis data is displayed in stack mode.
Query/Analysis
X Axis
Numeric or string data is supported.
Y Axis
Numeric or string data is supported. You can select multiple data records.
Legend
Hide Legend
After this function is enabled, you can hide the legend and comparison results.
Legend Position
Position of the legend in the chart. Select Top or Right.
Comparison Value
Indicates whether to display the maximum value, minimum value, average value, and sum value. You can select multiple options.
Graphics
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.
Tooltip
None, Ascending, and Descending
Dialog box configuration. When multiple Y-axis data records are selected, they can be sorted and displayed.
X Axis
Show
After this function is enabled, data on the X axis is displayed.
X Axis Title
Title of the X axis.
Y Axis
Show
After this function is enabled, the Y axis data is displayed.
Y Axis Title
Title of the Y axis.
Position
Position of the Y axis. Select Left or Right.
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