Wiki源代码5.8.2.2 Line Chart

由用户 liuqing01 在 2025/06/18 10:04 保存的版本 22.1

隐藏最后作者
liuqing01 22.1 1
2
maym 16.4 3 ==== **[Usage Scenario]** ====
yinshi 1.1 4
maym 16.4 5 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:
yinshi 1.1 6
yinshi 11.1 7 * (((
maym 16.4 8 **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.
yinshi 11.1 9 )))
10 * (((
maym 16.5 11 **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.
yinshi 11.1 12 )))
13 * (((
maym 16.5 14 **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.
yinshi 11.1 15 )))
16 * (((
maym 16.5 17 **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.
yinshi 11.1 18 )))
yinshi 1.1 19
yinshi 13.1 20 ==== ====
yinshi 2.1 21
maym 16.6 22 ==== **[Function Introduction]** ====
yinshi 11.1 23
maym 16.6 24 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.
yinshi 1.1 25
maym 16.8 26 [[image:1740626962720-557.png]]
yinshi 3.1 27
maym 16.9 28 The composition of a line chart includes:
yinshi 1.1 29
maym 16.12 30 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.
maym 17.2 31 1. **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.
maym 16.12 32 1. **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.
33 1. **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.
yinshi 1.1 34
35
36
maym 16.13 37 ==== 【Basic Attributes】 ====
yinshi 1.1 38
liuqing01 22.1 39 |**Horizontal axis**|**Longitudinal axis**|**Search Fields**|**Refernce Line**|**Filter conditions**
40 |Multiple fields can be configured, but up to 30 fields are allowed|Only one field can be configured|After configuration, the client can draw a line chart by searching for data that meets the criteria based on different search field values|Multiple fields can be configured, but up to 30 fields are allowed|Configure the condition values for filtering data sources
yinshi 1.1 41
yinshi 3.1 42 ====== ======
yinshi 1.1 43
maym 16.17 44 ==== **[Configuration steps]** ====
yinshi 3.1 45
maym 16.17 46 **Step-1 Select Bar Chart**
yinshi 1.1 47
liuqing01 22.1 48 [[image:1750236203873-321.png]]
yinshi 1.1 49
maym 16.20 50 **Step-2 Select chart display fields**
yinshi 1.1 51
maym 16.20 52 Drag and drop the fields from the data source list on the right onto the horizontal axis, vertical axis, search field, and reference line
yinshi 1.1 53
liuqing01 22.1 54 [[image:1750236277225-718.png]]
yinshi 1.1 55
maym 16.22 56 **Step-3 Style settings**
yinshi 1.1 57
maym 16.23 58 Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure:
yinshi 1.1 59
liuqing01 22.1 60 [[image:1750236309737-734.png]]
yinshi 1.1 61
maym 16.25 62 ==== **[Style Configuration Description]** ====
yinshi 6.1 63
liuqing01 22.1 64 |(% colspan="1" rowspan="1" %)Classification|(% colspan="1" rowspan="1" %)Configuration Items|(% colspan="1" rowspan="1" %)Purpose
65 |(% colspan="1" rowspan="12" %)(((
maym 16.26 66 Basic Style
yinshi 6.1 67
68
liuqing01 22.1 69 )))|(% colspan="1" rowspan="1" %)Show heading |(% colspan="1" rowspan="1" %)(((
maym 16.26 70 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;
yinshi 7.1 71
maym 16.27 72 [[image:1740645772547-595.png]]
yinshi 8.1 73
74
75 )))
liuqing01 22.1 76 |(% colspan="1" rowspan="1" %)Chart title|(% colspan="1" rowspan="1" %)You can name the chart yourself
77 |(% colspan="1" rowspan="1" %)(((
maym 16.27 78 Help text
liuqing01 22.1 79 )))|(% colspan="1" rowspan="1" %)(((
maym 16.27 80 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;
81
82 [[image:1740645921975-640.png]]
83 )))
liuqing01 22.1 84 |(% colspan="1" rowspan="1" %)Help text content|(% colspan="1" rowspan="1" %)Enter a description of the chart here to help client users understand the chart data;
85 |(% colspan="1" rowspan="1" %)Line chart type|(% colspan="1" rowspan="1" %)(((
maym 19.2 86 Provide 2 types: line and curve
yinshi 7.1 87
yinshi 6.1 88
89 )))
liuqing01 22.1 90 |(% colspan="1" rowspan="1" %)Color scheme|(% colspan="1" rowspan="1" %)Customize the color scheme of the Y-axis pillar;
91 |(% colspan="1" rowspan="1" %)(((
maym 17.1 92 Display thumbnail axis
liuqing01 22.1 93 )))|(% colspan="1" rowspan="1" %)Set a thumbnail axis for the horizontal axis, that is, to view the data of a certain interval on the horizontal axis;[[image:1740732178186-806.png]]
94 |(% colspan="1" rowspan="1" %)Display point|(% colspan="1" rowspan="1" %)(((
maym 17.3 95 By default, when turned off, each trace point of the line will not be displayed on the chart
yinshi 6.1 96
maym 17.3 97 [[image:1740732311368-570.png]]
yinshi 9.1 98
yinshi 6.1 99
100 )))
liuqing01 22.1 101 |(% colspan="1" rowspan="1" %)(((
maym 17.4 102 Point size
liuqing01 22.1 103 )))|(% colspan="1" rowspan="1" %)(((
maym 17.4 104 Control the size of the midpoint in the line chart
yinshi 7.1 105
maym 17.4 106
yinshi 6.1 107 )))
liuqing01 22.1 108 |(% colspan="1" %) |(% colspan="1" %)
109 |(% colspan="1" rowspan="1" %)(((
maym 17.4 110 Display Line
liuqing01 22.1 111
112
113 )))|(% colspan="1" rowspan="1" %)(((
maym 17.4 114 By default, when turned off, the line segments of the line chart disappear and only points are displayed (similar to a scatter plot)
yinshi 6.1 115
maym 17.4 116 [[image:1740732470025-322.png]]
yinshi 6.1 117 )))
liuqing01 22.1 118 |(% colspan="1" rowspan="1" %)(((
maym 17.4 119 Line thickness
yinshi 6.1 120
121
liuqing01 22.1 122 )))|(% colspan="1" rowspan="1" %)Support users to control the thickness of line segments in polylines
123 |(% colspan="1" rowspan="4" %)(((
maym 17.5 124 Horizontal axis
yinshi 6.1 125
126
liuqing01 22.1 127 )))|(% colspan="1" rowspan="1" %)(((
maym 17.5 128 Display axis title
liuqing01 22.1 129 )))|(% colspan="1" rowspan="1" %)(((
maym 17.5 130 After activation, the title of the horizontal data source will be displayed below the horizontal axis in the chart
yinshi 9.1 131
maym 17.6 132 [[image:1740732719678-598.png]]
yinshi 6.1 133 )))
liuqing01 22.1 134 |(% colspan="1" rowspan="1" %)(((
maym 17.6 135 Axis Title Name
liuqing01 22.1 136 )))|(% colspan="1" rowspan="1" %)Support users to customize the desired axis title name and text
137 |(% colspan="1" rowspan="1" %)Color font size|(% colspan="1" rowspan="1" %)Support user-defined color and font size for axis titles
138 |(% colspan="1" rowspan="1" %)Axis label|(% colspan="1" rowspan="1" %)(((
maym 17.6 139 Control whether to display axis labels in the chart, as shown in the following figure:
yinshi 6.1 140
maym 17.6 141 [[image:1740732916511-206.png]]
yinshi 6.1 142 )))
liuqing01 22.1 143 |(% colspan="1" rowspan="4" %)(((
maym 17.8 144 Longitudinal axis
yinshi 6.1 145
146
liuqing01 22.1 147 )))|(% colspan="1" rowspan="1" %)(((
maym 17.8 148 Display axis title
liuqing01 22.1 149 )))|(% colspan="1" rowspan="1" %)(((
maym 17.8 150 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
yinshi 6.1 151
maym 17.8 152 [[image:1740733102756-962.png]]
yinshi 10.1 153
maym 17.8 154
yinshi 6.1 155 )))
liuqing01 22.1 156 |(% colspan="1" rowspan="1" %)Axis title name|(% colspan="1" rowspan="1" %)Custom vertical axis title name copy
157 |(% colspan="1" rowspan="1" %)(((
maym 17.8 158 Show axis lables
liuqing01 22.1 159 )))|(% colspan="1" rowspan="1" %)(((
maym 17.8 160 Control whether the Y-axis label is displayed
yinshi 10.1 161
maym 17.8 162 [[image:1740733325618-128.png]]
yinshi 6.1 163 )))
liuqing01 22.1 164 |(% colspan="1" rowspan="1" %)Scale count|(% colspan="1" rowspan="1" %)Customize 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)
165 |(% colspan="1" rowspan="3" %)(((
maym 17.9 166 Legend
liuqing01 22.1 167 )))|(% colspan="1" rowspan="1" %)(((
maym 17.9 168 Show legend
liuqing01 22.1 169 )))|(% colspan="1" rowspan="1" %)(((
maym 17.9 170 By default, it is turned on, and when turned off, the legend will not be displayed
yinshi 10.1 171
maym 17.11 172 [[image:1740737403837-995.png]]
yinshi 6.1 173 )))
liuqing01 22.1 174 |(% colspan="1" rowspan="1" %)(((
maym 21.1 175 Legend position
liuqing01 22.1 176 )))|(% colspan="1" rowspan="1" %)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
177 |(% colspan="1" rowspan="1" %)Color font size|(% colspan="1" rowspan="1" %)Adjust the text color and font size of the legend