文档更改5.8.2.2 Line Chart

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

从版本 16.9
maym编辑
在2025/02/27 03:59上
修改评论: 该版本没有评论
到版本
yinshi编辑
在2024/10/24 02:37上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -5.8.2.2 Line Chart
1 +5.8.2.2 折线图
... ... @@ -1,1 +1,1 @@
1 -Egret Cloud Operation manual.5\. 设计应用.5\.8 报表设计.5\.8\.2 报表设计器.WebHome
1 +Main.5\. 设计应用.5\.8 报表设计.5\.8\.2 报表设计器.WebHome
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.maym
1 +XWiki.yinshi
内容
... ... @@ -1,42 +1,59 @@
1 -==== **[Usage Scenario]** ====
1 +====== 【使用场景】 ======
2 2  
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:
3 +在折线图中,一般水平轴(X轴)用来表示时间的推移,并且间隔相同;而垂直轴(Y轴)代表不同时刻的数据的大小。如下图展示了随着时间推移,每月销售额的变化。
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 -)))
17 17  
18 -==== ====
19 19  
20 -==== **[Function Introduction]** ====
7 +====== 【功能简介】 ======
21 21  
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.
9 +折线图用于显示数据在一个**连续的时间间隔或者时间跨度上的变化**,它的特点是反映事物随时间或有序类别而变化的趋势。
23 23  
24 -[[image:1740626962720-557.png]]
11 +[[image:1729663152165-172.png]]
25 25  
26 -The composition of a line chart includes:
13 +一个折线图的构成包括:
27 27  
28 28  1. (((
29 -**Horizontal axis (X-axis):**线图中的横轴是水平方向上的轴线,通常用于展示数据的分类或者时间等连续性变量。
16 +**横轴 (X 轴):**
17 +
18 +1. (((
19 +**定义:** 折线图中的横轴是水平方向上的轴线,通常用于表示数据的分类或者时间等连续性变量。
30 30  )))
31 31  1. (((
32 -折 **纵轴 (Y 轴):** 折线图中的纵轴是垂直方向上的轴线,通常用于展示数据的数值或者数量。
22 +**含义:** 横轴通常表示自变量,即数据的分类或者时间序列。在折线图中,横轴上的数值或分类标签决定了折线图中每个数据点的横坐标位置。
23 +)))
24 +)))
25 +1. (((
26 +**纵轴 (Y 轴):**
33 33  
28 +1. (((
29 +**定义:** 折线图中的纵轴是垂直方向上的轴线,通常用于表示数据的数值或者数量。
30 +)))
31 +1. (((
32 +**含义:** 纵轴通常表示因变量,即与自变量相关联的数值或数量。在折线图中,纵轴上的数值决定了折线图中每个数据点的纵坐标位置。
33 +)))
34 +)))
35 +1. (((
36 +**点:**
34 34  
35 -**点:** 每个点代表了横轴和纵轴上特定位置的数据值,在折线图中,连接所有点的折线可以展现数据的趋势和变化。
38 +1. (((
39 +**定义:** 折线图中的点是由数据组成的离散的数据点,代表着某个具体的数据值。
40 +)))
41 +1. (((
42 +**含义:** 每个点代表了横轴和纵轴上特定位置的数据值。在折线图中,连接所有点的折线可以展现数据的趋势和变化。
43 +)))
44 +)))
45 +1. (((
46 +**线:**
36 36  
37 -**线:** 折线图中的线是由连接数据点而成的直线,代表了数据的变化趋势,通过线的走势可以直观地展现数据的增长、减少或者波动情况。
48 +1. (((
49 +**定义:** 折线图中的线是由连接数据点而成的直线,用于将各个数据点串联起来形成折线。
38 38  )))
51 +1. (((
52 +**含义:** 折线代表了数据的变化趋势,通过线的走势可以直观地展现数据的增长、减少或者波动情况。
53 +)))
54 +)))
39 39  
56 +
40 40  ====== 【基本要求】 ======
41 41  
42 42  要实现折线图的效果,基本要求如下 。
... ... @@ -47,13 +47,13 @@
47 47  
48 48  ====== ======
49 49  
50 -==== **【配置步骤】** ====
67 +====== 【配置步骤】 ======
51 51  
52 52  **Step-1 选择图形**
53 53  
54 54  创建报表,选择折线图,如图:
55 55  
56 -[[image:1737529051357-629.png]]
73 +[[image:1729663321225-837.png]]
57 57  
58 58  
59 59  **Step-2 选择图表展示字段**
... ... @@ -60,7 +60,7 @@
60 60  
61 61  将右边数据源列表中的字段拖动放到【横轴】、【纵轴】、【分组】、【参考线】上
62 62  
63 -[[image:1737528997085-860.png]]
80 +[[image:1729663922832-959.png]]
64 64  
65 65  
66 66  Step-3 样式设置
... ... @@ -70,8 +70,9 @@
70 70  [[image:1729663961688-819.png]]
71 71  
72 72  
90 +样式设置
73 73  
74 -==== **【样式说明】** ====
92 +样式
75 75  
76 76  |(% colspan="1" rowspan="1" style="width:52px" %)(((
77 77  
... ... @@ -82,7 +82,7 @@
82 82  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
83 83  用途
84 84  )))
85 -|(% colspan="1" rowspan="21" style="width:52px" %)(((
103 +|(% colspan="1" rowspan="25" style="width:52px" %)(((
86 86  **折线图**
87 87  
88 88  
... ... @@ -193,7 +193,7 @@
193 193  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
194 194  开启后,画布中横轴下方,将显示用户配置的横轴的数据源的标题
195 195  
196 -[[image:1737529012159-610.png]]
214 +[[image:1729737237381-651.png||height="495" width="909"]]
197 197  )))
198 198  |(% colspan="1" rowspan="1" style="width:94px" %)(((
199 199  轴标题名称
... ... @@ -217,7 +217,7 @@
217 217  
218 218  [[image:1729737429518-371.png]]
219 219  )))
220 -|(% colspan="1" rowspan="4" style="width:76.9844px" %)(((
238 +|(% colspan="1" rowspan="8" style="width:76.9844px" %)(((
221 221  纵轴
222 222  
223 223  
... ... @@ -226,25 +226,45 @@
226 226  
227 227  
228 228  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
229 -开启后,画布中纵轴左侧,将显示用户配置的纵轴的(第一个数据源)的标题
247 +默认开启
230 230  
231 -(图中:“Y轴标题”是轴标题, “桌子、椅子、窗帘”是图例)
232 -
233 -[[image:1729737694678-922.png]]
249 +
234 234  )))
235 235  |(% colspan="1" rowspan="1" style="width:94px" %)(((
236 236  标题内容
237 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
253 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
254 +显示轴标题开启后显示,这里没写标题文字的情况下,默认显示横/纵轴上第一个字段的名称
255 +)))
238 238  |(% colspan="1" rowspan="1" style="width:94px" %)(((
257 +颜色字号
258 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
259 +默认:黑色,12号字
260 +)))
261 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
239 239  轴标签
240 240  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
241 -控制Y轴轴标签是否显示的开关
242 -
243 -[[image:1729737826799-987.png||height="434" width="369"]]
264 +默认开启
244 244  )))
245 245  |(% colspan="1" rowspan="1" style="width:94px" %)(((
267 +(轴标签)自动旋转
268 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
269 +默认勾选
270 +)))
271 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
272 +颜色字号
273 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
274 +默认:黑色,12号字
275 +)))
276 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
246 246  刻度数
247 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户配置的Y轴的刻度数(注意:这里的刻度数是一个预估值,报表引擎在渲染时可能会根据实际情况改变最终呈现的刻度数)
278 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
279 +默认值:6, 即:标识Y轴默认有6个刻度
280 +)))
281 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
282 +
283 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
284 +
285 +)))
248 248  |(% colspan="1" rowspan="1" style="width:52px" %)(((
249 249  
250 250  )))|(% colspan="1" rowspan="3" style="width:76.9844px" %)(((
... ... @@ -254,17 +254,21 @@
254 254  )))|(% colspan="1" rowspan="1" style="width:94px" %)(((
255 255  显示图例
256 256  )))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
257 -默认开启, 关闭后则不显示图例
258 -
259 -[[image:1729737941885-204.png||height="506" width="842"]]
295 +默认开启
260 260  )))
261 261  |(% colspan="1" rowspan="1" style="width:52px" %)(((
262 262  
263 263  )))|(% colspan="1" rowspan="1" style="width:94px" %)(((
264 264  图例位置
265 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置
301 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
302 +默认选中:左上角
303 +)))
266 266  |(% colspan="1" rowspan="1" style="width:52px" %)(((
267 267  
268 268  )))|(% colspan="1" rowspan="1" style="width:94px" %)(((
269 269  颜色字号
270 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户根据需要自行调整图例的文字颜色和字体大小
308 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
309 +默认:黑色,12号字
310 +
311 +(注意:这里指的是图例中文字Label的颜色和字号)
312 +)))
1729737694678-922.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -17.0 KB
内容
1729737826799-987.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -17.3 KB
内容
1729737941885-204.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -40.9 KB
内容
1737528997085-860.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -89.4 KB
内容
1737529012159-610.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -41.6 KB
内容
1737529051357-629.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -86.2 KB
内容
1740626962720-557.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -53.1 KB
内容