5.8.2.2 Line Chart

由用户 maym 在 2025/02/28 10:13 保存的版本 19.1

[Usage Scenario]

   A line chart is a commonly used type of chart to display changes over time. It connects data points with lines to show the trend of variables, and is suitable for the following scenarios:

  • Time trend analysis:  Line charts are suitable for displaying time series data, such as daily, monthly, or quarterly sales, user visits, or inventory changes, to help users identify long-term trends.

  • Seasonal changes:  By observing the fluctuations of the line, it is possible to analyze the periodic changes in the data. For example, seasonal fluctuations in sales revenue, changes in user activity during different time periods, etc.

  • Comparison trend:  Multiple lines can be used to compare the changes in multiple variables. For example, comparing sales trends of different products, or comparing user growth trends in different markets.

  • Abnormal discovery:  The prominent peaks or valleys in a line chart help identify abnormal situations in the data, such as an abnormal increase in sales or a sudden decrease in user churn in a certain month.

[Function Introduction]

A line chart is used to display the changes in data over a continuous time interval or span, and its characteristic is to reflect the trend of things changing over time or ordered categories.

1740626962720-557.png

The composition of a line chart includes:

  1. Horizontal axis (X-axis): The horizontal axis in a line graph is the horizontal axis, usually used to display continuous variables such as data classification or time.
  2. Vertical axis (Y-axis): The vertical axis in a line chart is the axis in the vertical direction, usually used to display numerical values or quantities of data.
  3. Point:  Each point represents the data value at a specific position on the horizontal and vertical axes. In a line chart, the line connecting all points can show the trend and change of the data.
  4. Line: The lines in a line chart are straight lines formed by connecting data points, representing the trend of data changes. The trend of the lines can intuitively show the growth, decrease, or fluctuation of the data.

 

 

【Basic Attributes】

Horizontal axisLongitudinal axisSearch FieldsRefernce LineFilter conditions
Multiple fields can be configured, but up to 30 fields are allowedOnly one field can be configuredAfter configuration, the client can draw a line chart by searching for data that meets the criteria based on different search field valuesMultiple fields can be configured, but up to 30 fields are allowedConfigure the condition values for filtering data sources

[Configuration steps]

Step-1 Select Bar Chart

1740640778297-295.png

Step-2 Select chart display fields

Drag and drop the fields from the data source list on the right onto the horizontal axis, vertical axis, search field, and reference line

1740641005459-993.png

Step-3 Style settings

Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure:

1740641136822-176.png

[Style Configuration Description]

ClassificationConfiguration ItemsPurpose

Basic Style

 

Show heading 

Control whether the chart title in the upper left corner of the canvas is displayed. When closed, the chart title will not be displayed in the report, The words "柱状图1" are shown in the following figure;

1740645772547-595.png

 

Chart titleYou can name the chart yourself

Help text

Control whether the help copy is displayed in the chart. If enabled, client users can see a "?" icon after the chart title and the corresponding help copy when moving the mouse over the icon;

1740645921975-640.png

Help text contentEnter a description of the chart here to help client users understand the chart data;
Line chart type

Provide 2 types: line and curve1740646556619-157.png

 

color schemeCustomize the color scheme of the Y-axis pillar;

Display thumbnail axis

Set a thumbnail axis for the horizontal axis, that is, to view the data of a certain interval on the horizontal axis;1740732178186-806.png
Display point

By default, when turned off, each trace point of the line will not be displayed on the chart

1740732311368-570.png

 

Point size

Control the size of the midpoint in the line chart

 

Display Line

By default, when turned off, the line segments of the line chart disappear and only points are displayed (similar to a scatter plot)

1740732470025-322.png

Line thickness

 

Support users to control the thickness of line segments in polylines

Horizontal axis

 

Display axis title

After activation, the title of the horizontal data source will be displayed below the horizontal axis in the chart

1740732719678-598.png

Axis Title Name 

Support users to customize the desired axis title name and text
Color font sizeSupport user-defined color and font size for axis titles
Axis label

Control whether to display axis labels in the chart, as shown in the following figure:

1740732916511-206.png

Longitudinal axis

 

Display axis title

After activation, to the left of the vertical axis in the chart, the title of the user configured vertical axis (the first data source) will be displayed

1740733102756-962.png

 

Axis title nameCustom vertical axis title name copy

Show axis lables

Control whether the Y-axis label is displayed

1740733325618-128.png

Scale countCustomize the scale number of the Y-axis (note: the scale number here is an estimated value, and the report engine may change the final rendering scale number according to the actual situation during rendering)

Legend

Show legend

By default, it is turned on, and when turned off, the legend will not be displayed

1740737403837-995.png

 Legend location

The legend defaults to the top left corner of the chart and supports displaying the legend in other positions of the chart, such as the top center, bottom left corner, top right corner, bottom center, or bottom right corner
Color font sizeAdjust the text color and font size of the legend