文档更改5.8.2.2 Line Chart

liuqing01 于 2025/06/30 11:35 最后修改

从版本 10.1
yinshi编辑
在2024/10/24 02:46上
修改评论: 该版本没有评论
到版本
maym编辑
在2025/02/28 09:03上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -5.8.2.2 折线图
1 +5.8.2.2 Line Chart
... ... @@ -1,1 +1,1 @@
1 -Main.5\. 设计应用.5\.8 报表设计.5\.8\.2 报表设计器.WebHome
1 +Egret Cloud Operation manual.5\. 设计应用.5\.8 报表设计.5\.8\.2 报表设计器.WebHome
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.yinshi
1 +XWiki.maym
内容
... ... @@ -1,119 +1,84 @@
1 -====== 【使用场景】 ======
1 +==== **[Usage Scenario]** ====
2 2  
3 -在折线图中,一般水平轴(X轴)用来表示时间的推移,并且间隔相同;而垂直轴(Y轴)代表不同时刻的数据的大小。如下图展示了随着时间推移,每月销售额的变化。
3 + 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:
4 4  
5 +* (((
6 +**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.
7 +)))
8 +* (((
9 +**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.
10 +)))
11 +* (((
12 +**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.
13 +)))
14 +* (((
15 +**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.
16 +)))
5 5  
18 +==== ====
6 6  
7 -====== 【功能简介】 ======
20 +==== **[Function Introduction]** ====
8 8  
9 -折线图用于显示数据在一个**连续的时间间隔或者时间跨度上的变化**,它的特点是反映事物随时间或有序类别而变化的趋势。
22 +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.
10 10  
11 -[[image:1729663152165-172.png]]
24 +[[image:1740626962720-557.png]]
12 12  
13 -一个折线图的构成包括:
26 +The composition of a line chart includes:
14 14  
15 -1. (((
16 -**横轴 (X 轴):**
28 +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.
29 +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.
30 +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.
31 +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.
17 17  
18 -1. (((
19 -**定义:** 折线图中的横轴是水平方向上的轴线,通常用于表示数据的分类或者时间等连续性变量。
20 -)))
21 -1. (((
22 -**含义:** 横轴通常表示自变量,即数据的分类或者时间序列。在折线图中,横轴上的数值或分类标签决定了折线图中每个数据点的横坐标位置。
23 -)))
24 -)))
25 -1. (((
26 -**纵轴 (Y 轴):**
33 +(((
34 +
27 27  
28 -1. (((
29 -**定义:** 折线图中的纵轴是垂直方向上的轴线,通常用于表示数据的数值或者数量。
30 -)))
31 -1. (((
32 -**含义:** 纵轴通常表示因变量,即与自变量相关联的数值或数量。在折线图中,纵轴上的数值决定了折线图中每个数据点的纵坐标位置。
33 -)))
34 -)))
35 -1. (((
36 -**点:**
37 37  
38 -1. (((
39 -**定义:** 折线图中的点是由数据组成的离散的数据点,代表着某个具体的数据值。
37 +
40 40  )))
41 -1. (((
42 -**含义:** 每个点代表了横轴和纵轴上特定位置的数据值。在折线图中,连接所有点的折线可以展现数据的趋势和变化。
43 -)))
44 -)))
45 -1. (((
46 -**线:**
47 47  
48 -1. (((
49 -**定义:** 折线图中的线是由连接数据点而成的直线,用于将各个数据点串联起来形成折线。
50 -)))
51 -1. (((
52 -**含义:** 折线代表了数据的变化趋势,通过线的走势可以直观地展现数据的增长、减少或者波动情况。
53 -)))
54 -)))
40 +==== 【Basic Attributes】 ====
55 55  
56 -====== 【基本要求】 ======
57 57  
58 -要实现折线图的效果,基本要求如下 。
43 +|(% style="width:294px" %)**Horizontal axis**|(% style="width:236px" %)**Longitudinal axis**|(% style="width:472px" %)**Search Fields**|(% style="width:275px" %)**Refernce Line**|(% style="width:245px" %)**Filter conditions**
44 +|(% style="width:294px" %)Multiple fields can be configured, but up to 30 fields are allowed|(% style="width:236px" %)Only one field can be configured|(% style="width:472px" %)After configuration, the client can draw a line chart by searching for data that meets the criteria based on different search field values|(% style="width:275px" %)Multiple fields can be configured, but up to 30 fields are allowed|(% style="width:245px" %)Configure the condition values for filtering data sources
59 59  
60 -
61 -|横轴|纵轴|分组|参考线
62 -|最多1个字段|可选多个字段,最多30个字段|最多1个字段|可选多个字段,最多30个字段
63 -
64 64  ====== ======
65 65  
66 -====== 【配置步骤】 ======
48 +==== **[Configuration steps]** ====
67 67  
68 -**Step-1 选择图形**
50 +**Step-1 Select Bar Chart**
69 69  
70 -创建报表,选择折线图,如图:
52 +[[image:1740640778297-295.png]]
71 71  
72 -[[image:1729663321225-837.png]]
73 73  
55 +**Step-2 Select chart display fields**
74 74  
75 -**Step-2 选择图表展示字段**
57 +Drag and drop the fields from the data source list on the right onto the horizontal axis, vertical axis, search field, and reference line
76 76  
77 -将右边数据源列表中的字段拖动放到【横轴】、【纵轴】、【分组】、【参考线】上
59 +[[image:1740641005459-993.png]]
78 78  
79 -[[image:1729663922832-959.png]]
80 80  
62 +**Step-3 Style settings**
81 81  
82 -Step-3 样式设置
64 +Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure:
83 83  
84 -分为三小类:【基础】、【坐标轴】,【图例】,如下图
66 +[[image:1740641136822-176.png]]
85 85  
86 -[[image:1729663961688-819.png]]
87 87  
88 88  
89 -样式设置
70 +==== **[Style Configuration Description]** ====
90 90  
91 -样式设置
72 +|(% colspan="1" rowspan="1" style="width:76.9844px" %)Classification|(% colspan="1" rowspan="1" style="width:94px" %)Configuration Items|(% colspan="1" rowspan="1" style="width:1272px" %)Purpose
73 +|(% colspan="1" rowspan="11" style="width:76.9844px" %)(((
74 +Basic Style
92 92  
93 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
94 94  
95 -)))|(% colspan="1" rowspan="1" style="width:76.9844px" %)(((
96 -样式设置分类
97 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
98 -配置项
99 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
100 -用途
101 -)))
102 -|(% colspan="1" rowspan="21" style="width:52px" %)(((
103 -**折线图**
104 -
105 -
106 -)))|(% colspan="1" rowspan="12" style="width:76.9844px" %)(((
107 -基础
108 -
109 -
110 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
111 -显示标题
112 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
77 +)))|(% colspan="1" rowspan="1" style="width:94px" %)Show heading |(% colspan="1" rowspan="1" style="width:1272px" %)(((
113 113  (((
114 -控制画布左上角的标题是否显示的开关
79 +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;
115 115  
116 -[[image:1729664204675-778.png||height="214" width="731"]]
81 +[[image:1740645772547-595.png]]
117 117  )))
118 118  
119 119  (((
... ... @@ -120,22 +120,18 @@
120 120  
121 121  )))
122 122  )))
88 +|(% colspan="1" rowspan="1" style="width:94px" %)Chart title|(% colspan="1" rowspan="1" style="width:1272px" %)You can name the chart yourself
123 123  |(% colspan="1" rowspan="1" style="width:94px" %)(((
124 -标题名称
125 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义报表标题
126 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
127 -帮助文字
128 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)开启后,标题右侧出现小问号,鼠标悬浮时,出现帮助文字具体内容
129 -[[image:1729664436892-701.png]]
130 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
131 -帮助文字内容
132 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义帮助文字的文案,例如“这是本月销售订单总额的统计”
133 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
134 -折线图类型
90 +Help text
135 135  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
92 +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;
93 +
94 +[[image:1740645921975-640.png]]
95 +)))
96 +|(% colspan="1" rowspan="1" style="width:94px" %)Help text content|(% colspan="1" rowspan="1" style="width:1272px" %)Enter a description of the chart here to help client users understand the chart data;
97 +|(% colspan="1" rowspan="1" style="width:94px" %)Line chart type|(% colspan="1" rowspan="1" style="width:1272px" %)(((
136 136  (((
137 -支持2种类型:折线、曲线
138 -[[image:1729664469432-978.png||height="398" width="875"]]
99 +Provide 2 types: line and curve[[image:1740646556619-157.png]]
139 139  )))
140 140  
141 141  (((
... ... @@ -142,23 +142,16 @@
142 142  
143 143  )))
144 144  )))
106 +|(% colspan="1" rowspan="1" style="width:94px" %)color scheme|(% colspan="1" rowspan="1" style="width:1272px" %)Customize the color scheme of the Y-axis pillar;
145 145  |(% colspan="1" rowspan="1" style="width:94px" %)(((
146 -配色方案
147 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
148 -支持用户自定义(多Y轴时)整体的配色方案
149 -)))
150 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
151 -显示缩略轴
152 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户设置针对横轴的缩略轴,即:查看横轴上某一区间的数据
153 -[[image:1729664570038-223.png||height="477" width="822"]]
154 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
155 -展示点
156 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
108 +Display thumbnail axis
109 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)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]]
110 +|(% colspan="1" rowspan="1" style="width:94px" %)Display point|(% colspan="1" rowspan="1" style="width:1272px" %)(((
157 157  (((
158 -默认打开,关闭后画布上不显示折线的每个描点
112 +By default, when turned off, each trace point of the line will not be displayed on the chart
159 159  
160 160  
161 -[[image:1729736532720-382.png||height="441" width="866"]]
115 +[[image:1740732311368-570.png]]
162 162  )))
163 163  
164 164  (((
... ... @@ -166,105 +166,67 @@
166 166  )))
167 167  )))
168 168  |(% colspan="1" rowspan="1" style="width:94px" %)(((
169 -点大小
123 +Point size
170 170  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
171 -控制折线图中点大小
125 +Control the size of the midpoint in the line chart
172 172  
173 -[[image:1729664677195-525.png||height="515" width="857"]]
127 +
174 174  )))
175 175  |(% colspan="1" rowspan="1" style="width:94px" %)(((
176 -展示线
130 +Display Line
177 177  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
178 -默认打开,关闭后折线的线段消失,只显示点(类似散点图)
132 +By default, when turned off, the line segments of the line chart disappear and only points are displayed (similar to a scatter plot)
179 179  
180 -[[image:1729664725301-778.png||height="403" width="937"]]
181 -
182 -
134 +[[image:1740732470025-322.png]]
183 183  )))
184 184  |(% colspan="1" rowspan="1" style="width:94px" %)(((
185 -线粗细
137 +Line thickness
186 186  
187 187  
188 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
189 -支持用户控制折线的线段粗细
190 -)))
191 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
192 -填充
140 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)Support users to control the thickness of line segments in polylines
141 +|(% colspan="1" rowspan="4" style="width:76.9844px" %)(((
142 +Horizontal axis
193 193  
194 194  
195 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
196 -默认关闭, 打开后每个点向下填充半透明的颜色到X轴,效果如下:
197 -
198 -[[image:1729664811246-731.png||height="276" width="683"]]
199 -
200 -
201 -)))
202 -|(% colspan="1" rowspan="5" style="width:76.9844px" %)(((
203 -横轴
204 -
205 -
206 206  )))|(% colspan="1" rowspan="1" style="width:94px" %)(((
207 -显示轴标题
208 -
209 -
146 +Display axis title
210 210  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
211 -开启后,画布中横轴下方,将显示用户配置的横轴的数据源的标题
148 +After activation, the title of the horizontal data source will be displayed below the horizontal axis in the chart
212 212  
213 -[[image:1729737237381-651.png||height="495" width="909"]]
150 +[[image:1740732719678-598.png]]
214 214  )))
215 215  |(% colspan="1" rowspan="1" style="width:94px" %)(((
216 -轴标题名称
153 +Axis Title Name
154 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)Support users to customize the desired axis title name and text
155 +|(% colspan="1" rowspan="1" style="width:94px" %)Color font size|(% colspan="1" rowspan="1" style="width:1272px" %)Support user-defined color and font size for axis titles
156 +|(% colspan="1" rowspan="1" style="width:94px" %)Axis label|(% colspan="1" rowspan="1" style="width:1272px" %)(((
157 +Control whether to display axis labels in the chart, as shown in the following figure:
217 217  
218 -
219 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
220 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
221 -颜色字号
222 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义轴标题的颜色和字号
223 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
224 -轴标签
225 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
226 -控制是否显示轴标签的开关,如下图:
227 -
228 -[[image:1729737350555-287.png||height="438" width="900"]]
159 +[[image:1740732916511-206.png]]
229 229  )))
230 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
231 -(轴标签)自动旋转
232 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
233 -轴标签会斜45°显示,如下图
234 -
235 -[[image:1729737429518-371.png]]
236 -)))
237 237  |(% colspan="1" rowspan="4" style="width:76.9844px" %)(((
238 -纵轴
162 +Longitudinal axis
239 239  
240 240  
241 241  )))|(% colspan="1" rowspan="1" style="width:94px" %)(((
242 -显示轴标题
243 -
244 -
166 +Display axis title
245 245  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
246 -开启后,画布中纵轴左侧,将显示用户配置的纵轴的(第一个数据源)的标题
168 +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
247 247  
248 -(图中:“Y轴标题”是轴标题, “桌子、椅子、窗帘”是图例)
170 +[[image:1740733102756-962.png]]
249 249  
250 -[[image:1729737694678-922.png]]
172 +
251 251  )))
174 +|(% colspan="1" rowspan="1" style="width:94px" %)Axis title name|(% colspan="1" rowspan="1" style="width:1272px" %)Custom vertical axis title name copy
252 252  |(% colspan="1" rowspan="1" style="width:94px" %)(((
253 -标题内容
254 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
255 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
256 -轴标签
176 +Show axis lables
257 257  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
258 -控制Y轴轴标签是否显示的开关
178 +Control whether the Y-axis label is displayed
259 259  
260 -[[image:1729737826799-987.png||height="434" width="369"]]
180 +[[image:1740733325618-128.png]]
261 261  )))
262 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
263 -刻度数
264 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户配置的Y轴的刻度数(注意:这里的刻度数是一个预估值,报表引擎在渲染时可能会根据实际情况改变最终呈现的刻度数)
265 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
266 -
267 -)))|(% colspan="1" rowspan="3" style="width:76.9844px" %)(((
182 +|(% colspan="1" rowspan="1" style="width:94px" %)Scale count|(% colspan="1" rowspan="1" style="width:1272px" %)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)
183 +|(% colspan="1" rowspan="3" style="width:76.9844px" %)(((
268 268  图例
269 269  
270 270  
... ... @@ -275,15 +275,9 @@
275 275  
276 276  [[image:1729737941885-204.png||height="506" width="842"]]
277 277  )))
278 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
279 -
280 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
194 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
281 281  图例位置
282 282  )))|(% colspan="1" rowspan="1" style="width:1272px" %)图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置
283 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
284 -
285 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
197 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
286 286  颜色字号
287 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
288 -支持用户根据需要自行调整图例的颜色和文字大小
289 -)))
199 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户根据需要自行调整图例的文字颜色和字体大小
1737528997085-860.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +89.4 KB
内容
1737529012159-610.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +41.6 KB
内容
1737529051357-629.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +86.2 KB
内容
1740626962720-557.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +53.1 KB
内容
1740640778297-295.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +112.5 KB
内容
1740640945562-266.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +112.2 KB
内容
1740641005459-993.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +120.0 KB
内容
1740641136822-176.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +105.8 KB
内容
1740645772547-595.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +98.7 KB
内容
1740645921975-640.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +106.3 KB
内容
1740732178186-806.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +74.3 KB
内容
1740732311368-570.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +102.5 KB
内容
1740732470025-322.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +81.1 KB
内容
1740732719678-598.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +107.7 KB
内容
1740732916511-206.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +109.9 KB
内容
1740733102756-962.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +100.9 KB
内容
1740733325618-128.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +61.4 KB
内容