Updated on 2024-11-18 GMT+08:00

Line Chart

A line chart is used to analyze the data change trend in a certain period, which is reflected in the following aspects:

  • Increment or decrement
  • Increase/Decrease rate
  • Regularity of increase/decrease (such as periodic change)
  • Peak and valley values

Therefore, the line chart is the best choice for analyzing the data change trend over time. In addition, you can draw multiple lines to analyze the change trend of multiple groups of data in the same period, and then analyze the interaction and impact between data (such as in direct or inverse proportion).

Checking Line Charts

  1. Log in to the LTS console.
  2. In the navigation pane on the left, choose Log Management. The Log Management page is displayed.
  3. On the Log Management page, select the target log group and log stream. The log stream details page is displayed.
  4. Choose Log Analysis.
  5. Enter a query and analysis statement by referring to SQL Analysis Syntax, set the time range, and click Search.
  6. Click to display the queried data in a line chart. Set parameters in the General Settings right pane by referring to Table 1.

    Figure 1 Line chart
    Table 1 Line 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.

    Query/Analysis

    X Axis

    Numeric or string data is supported.

    Y Axis

    Numeric or string data is supported. You can select multiple data records.

    Dimension

    Select a value from the drop-down list. Generally, it is an ordinal variable.

    Compare Trends

    This function can be enabled when the X axis shows time data and Dimension is not specified.

    After this function is enabled, set Comparison to a duration less than or equal to 24 hours. After the setting is complete, compare the data of the current time with the object time data.

    Legend

    Hide Legend

    After this function is enabled, you can hide the legend and comparison results.

    Legend Position

    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

    Line Shape

    Line type. Select Straight or Curved.

    Line Width

    Width of a polyline.

    Show Data Markers

    Whether to display the connection points.

    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

    Sort By

    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.