文档更改5.8.2.2 Line Chart

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

从版本 16.25
maym编辑
在2025/02/27 08:39上
修改评论: 该版本没有评论
到版本
yinshi编辑
在2024/10/23 06:13上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -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,266 +1,96 @@
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 -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.
15 +1. (((
16 +**横轴 (X 轴):**
32 32  
33 -(((
34 -
35 -
36 -
37 -
18 +1. (((
19 +**定义:** 折线图中的横轴是水平方向上的轴线,通常用于表示数据的分类或者时间等连续性变量。
38 38  )))
39 -
40 -==== 【Basic Attributes】 ====
41 -
42 -
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
45 -
46 -====== ======
47 -
48 -==== **[Configuration steps]** ====
49 -
50 -**Step-1 Select Bar Chart**
51 -
52 -[[image:1740640778297-295.png]]
53 -
54 -
55 -**Step-2 Select chart display fields**
56 -
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
58 -
59 -[[image:1740641005459-993.png]]
60 -
61 -
62 -**Step-3 Style settings**
63 -
64 -Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure:
65 -
66 -[[image:1740641136822-176.png]]
67 -
68 -
69 -
70 -==== **[Style Configuration Description]** ====
71 -
72 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
73 -
74 -)))|(% colspan="1" rowspan="1" style="width:76.9844px" %)(((
75 -样式设置分类
76 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
77 -配置项
78 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
79 -用途
21 +1. (((
22 +**含义:** 横轴通常表示自变量,即数据的分类或者时间序列。在折线图中,横轴上的数值或分类标签决定了折线图中每个数据点的横坐标位置。
80 80  )))
81 -|(% colspan="1" rowspan="21" style="width:52px" %)(((
82 -**折线图**
83 -
84 -
85 -)))|(% colspan="1" rowspan="12" style="width:76.9844px" %)(((
86 -基础
87 -
88 -
89 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
90 -显示标题
91 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
92 -(((
93 -控制画布左上角的标题是否显示的开关
94 -
95 -[[image:1729664204675-778.png||height="214" width="731"]]
96 96  )))
25 +1. (((
26 +**纵轴 (Y 轴):**
97 97  
98 -(((
99 -
28 +1. (((
29 +**定义:** 折线图中的纵轴是垂直方向上的轴线,通常用于表示数据的数值或者数量。
100 100  )))
31 +1. (((
32 +**含义:** 纵轴通常表示因变量,即与自变量相关联的数值或数量。在折线图中,纵轴上的数值决定了折线图中每个数据点的纵坐标位置。
101 101  )))
102 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
103 -标题名称
104 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义报表标题
105 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
106 -帮助文字
107 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)开启后,标题右侧出现小问号,鼠标悬浮时,出现帮助文字具体内容
108 -[[image:1729664436892-701.png]]
109 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
110 -帮助文字内容
111 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义帮助文字的文案,例如“这是本月销售订单总额的统计”
112 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
113 -折线图类型
114 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
115 -(((
116 -支持2种类型:折线、曲线
117 -[[image:1729664469432-978.png||height="398" width="875"]]
118 118  )))
35 +1. (((
36 +**点:**
119 119  
120 -(((
121 -
38 +1. (((
39 +**定义:** 折线图中的点是由数据组成的离散的数据点,代表着某个具体的数据值。
122 122  )))
41 +1. (((
42 +**含义:** 每个点代表了横轴和纵轴上特定位置的数据值。在折线图中,连接所有点的折线可以展现数据的趋势和变化。
123 123  )))
124 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
125 -配色方案
126 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
127 -支持用户自定义(多Y轴时)整体的配色方案
128 128  )))
129 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
130 -显示缩略轴
131 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户设置针对横轴的缩略轴,即:查看横轴上某一区间的数据
132 -[[image:1729664570038-223.png||height="477" width="822"]]
133 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
134 -展示点
135 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
136 -(((
137 -默认打开,关闭后画布上不显示折线的每个描点
45 +1. (((
46 +**线:**
138 138  
139 -
140 -[[image:1729736532720-382.png||height="441" width="866"]]
48 +1. (((
49 +**定义:** 折线图中的线是由连接数据点而成的直线,用于将各个数据点串联起来形成折线。
141 141  )))
142 -
143 -(((
144 -
51 +1. (((
52 +**含义:** 折线代表了数据的变化趋势,通过线的走势可以直观地展现数据的增长、减少或者波动情况。
145 145  )))
146 146  )))
147 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
148 -点大小
149 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
150 -控制折线图中点大小
151 151  
152 -[[image:1729664677195-525.png||height="515" width="857"]]
153 -)))
154 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
155 -展示线
156 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
157 -默认打开,关闭后折线的线段消失,只显示点(类似散点图)
158 158  
159 -[[image:1729664725301-778.png||height="403" width="937"]]
160 160  
161 -
162 -)))
163 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
164 -线粗细
165 165  
166 -
167 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
168 -支持用户控制折线的线段粗细
169 -)))
170 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
171 -填充
172 172  
173 -
174 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
175 -默认关闭, 打开后每个点向下填充半透明的颜色到X轴,效果如下:
176 176  
177 -[[image:1729664811246-731.png||height="276" width="683"]]
61 +====== 【基本要求】 ======
178 178  
179 -
180 -)))
181 -|(% colspan="1" rowspan="5" style="width:76.9844px" %)(((
182 -横轴
63 +要实现折线图的效果,基本要求如下 。
183 183  
184 -
185 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
186 -显示轴标题
187 187  
188 -
189 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
190 -开启后,画布中横轴下方,将显示用户配置的横轴的数据源的标题
66 +|横轴|纵轴|分组|参考线
67 +|最多1个字段|可选多个字段,最多30个字段|最多1个字段|可选多个字段,最多30个字段
191 191  
192 -[[image:1737529012159-610.png]]
193 -)))
194 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
195 -轴标题名称
69 +====== ======
196 196  
197 -
198 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
199 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
200 -颜色字号
201 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义轴标题的颜色和字号
202 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
203 -轴标签
204 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
205 -控制是否显示轴标签的开关,如下图:
71 +====== 【配置步骤】 ======
206 206  
207 -[[image:1729737350555-287.png||height="438" width="900"]]
208 -)))
209 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
210 -(轴标签)自动旋转
211 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
212 -轴标签会斜45°显示,如下图
73 +**Step-1 选择图形**
213 213  
214 -[[image:1729737429518-371.png]]
215 -)))
216 -|(% colspan="1" rowspan="4" style="width:76.9844px" %)(((
217 -纵轴
75 +创建报表,选择折线图,如图:
218 218  
219 -
220 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
221 -显示轴标题
77 +[[image:1729663321225-837.png]]
222 222  
223 -
224 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
225 -开启后,画布中纵轴左侧,将显示用户配置的纵轴的(第一个数据源)的标题
226 226  
227 -(图中:“Y轴标题”是轴标题, “桌子、椅子、窗帘”是例)
80 +**Step-2 选择表展示字段**
228 228  
229 -[[image:1729737694678-922.png]]
230 -)))
231 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
232 -标题内容
233 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
234 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
235 -轴标签
236 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
237 -控制Y轴轴标签是否显示的开关
82 +将右边数据源列表中的字段拖动放到【横轴】、【纵轴】、【分组】、【参考线】上
238 238  
239 -[[image:1729737826799-987.png||height="434" width="369"]]
240 -)))
241 -|(% colspan="1" rowspan="1" style="width:94px" %)(((
242 -刻度数
243 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户配置的Y轴的刻度数(注意:这里的刻度数是一个预估值,报表引擎在渲染时可能会根据实际情况改变最终呈现的刻度数)
244 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
245 -
246 -)))|(% colspan="1" rowspan="3" style="width:76.9844px" %)(((
247 -图例
84 +[[image:1729663922832-959.png]]
248 248  
249 -
250 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
251 -显示图例
252 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
253 -默认开启, 关闭后则不显示图例
254 254  
255 -[[image:1729737941885-204.png||height="506" width="842"]]
256 -)))
257 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
87 +Step-3 样式设置
88 +
89 +分为三小类:【基础】、【坐标轴】,【图例】,如下图
90 +
91 +[[image:1729663961688-819.png]]
92 +
93 +
94 +样式设置
95 +
258 258  
259 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
260 -图例位置
261 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置
262 -|(% colspan="1" rowspan="1" style="width:52px" %)(((
263 -
264 -)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
265 -颜色字号
266 -)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户根据需要自行调整图例的文字颜色和字体大小
1729664204675-778.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -51.6 KB
内容
1729664436892-701.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -12.9 KB
内容
1729664469432-978.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -67.2 KB
内容
1729664570038-223.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -43.1 KB
内容
1729664677195-525.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -58.1 KB
内容
1729664725301-778.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -56.5 KB
内容
1729664811246-731.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -43.1 KB
内容
1729736532720-382.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -32.2 KB
内容
1729737237381-651.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -70.8 KB
内容
1729737350555-287.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -41.0 KB
内容
1729737429518-371.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.YufeiLi
大小
... ... @@ -1,1 +1,0 @@
1 -26.8 KB
内容
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
内容
1740640778297-295.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -112.5 KB
内容
1740640945562-266.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -112.2 KB
内容
1740641005459-993.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -120.0 KB
内容
1740641136822-176.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -105.8 KB
内容