文档更改5.8.2.2 Line Chart

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

从版本 22.1
liuqing01编辑
在2025/06/18 10:04上
修改评论: 该版本没有评论
到版本
maym编辑
在2025/02/27 10:25上
修改评论: 该版本没有评论

摘要

细节

页面属性
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.liuqing01
1 +XWiki.maym
内容
... ... @@ -1,5 +3,3 @@
1 -
2 -
3 3  ==== **[Usage Scenario]** ====
4 4  
5 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:
... ... @@ -28,17 +28,23 @@
28 28  The composition of a line chart includes:
29 29  
30 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.
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.
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.
32 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 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.
34 34  
33 +(((
34 +
35 35  
36 36  
37 +
38 +)))
39 +
37 37  ==== 【Basic Attributes】 ====
38 38  
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
41 41  
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 +
42 42  ====== ======
43 43  
44 44  ==== **[Configuration steps]** ====
... ... @@ -45,133 +45,189 @@
45 45  
46 46  **Step-1 Select Bar Chart**
47 47  
48 -[[image:1750236203873-321.png]]
52 +[[image:1740640778297-295.png]]
49 49  
54 +
50 50  **Step-2 Select chart display fields**
51 51  
52 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
53 53  
54 -[[image:1750236277225-718.png]]
59 +[[image:1740641005459-993.png]]
55 55  
61 +
56 56  **Step-3 Style settings**
57 57  
58 58  Divided into three categories: [Basic Style], [Coordinate Axis], [Legend], as shown in the following figure:
59 59  
60 -[[image:1750236309737-734.png]]
66 +[[image:1740641136822-176.png]]
61 61  
68 +
69 +
62 62  ==== **[Style Configuration Description]** ====
63 63  
64 -|(% colspan="1" rowspan="1" %)Classification|(% colspan="1" rowspan="1" %)Configuration Items|(% colspan="1" rowspan="1" %)Purpose
65 -|(% colspan="1" rowspan="12" %)(((
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="12" style="width:76.9844px" %)(((
66 66  Basic Style
67 67  
68 68  
69 -)))|(% colspan="1" rowspan="1" %)Show heading |(% colspan="1" rowspan="1" %)(((
77 +)))|(% colspan="1" rowspan="1" style="width:94px" %)Show heading |(% colspan="1" rowspan="1" style="width:1272px" %)(((
78 +(((
70 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;
71 71  
72 72  [[image:1740645772547-595.png]]
82 +)))
73 73  
84 +(((
74 74  
75 75  )))
76 -|(% colspan="1" rowspan="1" %)Chart title|(% colspan="1" rowspan="1" %)You can name the chart yourself
77 -|(% colspan="1" rowspan="1" %)(((
87 +)))
88 +|(% colspan="1" rowspan="1" style="width:94px" %)Chart title|(% colspan="1" rowspan="1" style="width:1272px" %)You can name the chart yourself
89 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
78 78  Help text
79 -)))|(% colspan="1" rowspan="1" %)(((
91 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
80 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 81  
82 82  [[image:1740645921975-640.png]]
83 83  )))
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" %)(((
86 -Provide 2 types: line and curve
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" %)(((
98 +(((
99 +Provide 2 types: line and curve[[image:1740646556619-157.png]]
100 +)))
87 87  
102 +(((
88 88  
89 89  )))
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" %)(((
105 +)))
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;
107 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
92 92  Display thumbnail axis
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" %)(((
95 -By default, when turned off, each trace point of the line will not be displayed on the chart
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:1729664570038-223.png||height="477" width="822"]]
110 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
111 +展示点
112 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
113 +(((
114 +默认打开,关闭后画布上不显示折线的每个描点
96 96  
97 -[[image:1740732311368-570.png]]
98 98  
117 +[[image:1729736532720-382.png||height="441" width="866"]]
118 +)))
119 +
120 +(((
99 99  
100 100  )))
101 -|(% colspan="1" rowspan="1" %)(((
102 -Point size
103 -)))|(% colspan="1" rowspan="1" %)(((
104 -Control the size of the midpoint in the line chart
123 +)))
124 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
125 +点大小
126 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
127 +控制折线图中点大小
105 105  
129 +[[image:1729664677195-525.png||height="515" width="857"]]
130 +)))
131 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
132 +展示线
133 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
134 +默认打开,关闭后折线的线段消失,只显示点(类似散点图)
135 +
136 +[[image:1729664725301-778.png||height="403" width="937"]]
137 +
106 106  
107 107  )))
108 -|(% colspan="1" %) |(% colspan="1" %)
109 -|(% colspan="1" rowspan="1" %)(((
110 -Display Line
140 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
141 +线粗细
111 111  
112 112  
113 -)))|(% colspan="1" rowspan="1" %)(((
114 -By default, when turned off, the line segments of the line chart disappear and only points are displayed (similar to a scatter plot)
144 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
145 +支持用户控制折线的线段粗细
146 +)))
147 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
148 +填充
115 115  
116 -[[image:1740732470025-322.png]]
150 +
151 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
152 +默认关闭, 打开后每个点向下填充半透明的颜色到X轴,效果如下:
153 +
154 +[[image:1729664811246-731.png||height="276" width="683"]]
155 +
156 +
117 117  )))
118 -|(% colspan="1" rowspan="1" %)(((
119 -Line thickness
158 +|(% colspan="1" rowspan="5" style="width:76.9844px" %)(((
159 +横轴
120 120  
121 121  
122 -)))|(% colspan="1" rowspan="1" %)Support users to control the thickness of line segments in polylines
123 -|(% colspan="1" rowspan="4" %)(((
124 -Horizontal axis
162 +)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
163 +显示轴标题
125 125  
126 126  
127 -)))|(% colspan="1" rowspan="1" %)(((
128 -Display axis title
129 -)))|(% colspan="1" rowspan="1" %)(((
130 -After activation, the title of the horizontal data source will be displayed below the horizontal axis in the chart
166 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
167 +开启后,画布中横轴下方,将显示用户配置的横轴的数据源的标题
131 131  
132 -[[image:1740732719678-598.png]]
169 +[[image:1737529012159-610.png]]
133 133  )))
134 -|(% colspan="1" rowspan="1" %)(((
135 -Axis Title Name
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" %)(((
139 -Control whether to display axis labels in the chart, as shown in the following figure:
171 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
172 +轴标题名称
140 140  
141 -[[image:1740732916511-206.png]]
174 +
175 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
176 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
177 +颜色字号
178 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义轴标题的颜色和字号
179 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
180 +轴标签
181 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
182 +控制是否显示轴标签的开关,如下图:
183 +
184 +[[image:1729737350555-287.png||height="438" width="900"]]
142 142  )))
143 -|(% colspan="1" rowspan="4" %)(((
144 -Longitudinal axis
186 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
187 +(轴标签)自动旋转
188 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
189 +轴标签会斜45°显示,如下图
145 145  
191 +[[image:1729737429518-371.png]]
192 +)))
193 +|(% colspan="1" rowspan="4" style="width:76.9844px" %)(((
194 +纵轴
195 +
146 146  
147 -)))|(% colspan="1" rowspan="1" %)(((
148 -Display axis title
149 -)))|(% colspan="1" rowspan="1" %)(((
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
197 +)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
198 +显示轴标题
151 151  
152 -[[image:1740733102756-962.png]]
153 -
154 154  
201 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
202 +开启后,画布中纵轴左侧,将显示用户配置的纵轴的(第一个数据源)的标题
203 +
204 +(图中:“Y轴标题”是轴标题, “桌子、椅子、窗帘”是图例)
205 +
206 +[[image:1729737694678-922.png]]
155 155  )))
156 -|(% colspan="1" rowspan="1" %)Axis title name|(% colspan="1" rowspan="1" %)Custom vertical axis title name copy
157 -|(% colspan="1" rowspan="1" %)(((
158 -Show axis lables
159 -)))|(% colspan="1" rowspan="1" %)(((
160 -Control whether the Y-axis label is displayed
208 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
209 +标题内容
210 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户自定义想要的轴标题名称文案
211 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
212 +轴标签
213 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
214 +控制Y轴轴标签是否显示的开关
161 161  
162 -[[image:1740733325618-128.png]]
216 +[[image:1729737826799-987.png||height="434" width="369"]]
163 163  )))
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" %)(((
166 -Legend
167 -)))|(% colspan="1" rowspan="1" %)(((
168 -Show legend
169 -)))|(% colspan="1" rowspan="1" %)(((
170 -By default, it is turned on, and when turned off, the legend will not be displayed
218 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
219 +刻度数
220 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户配置的Y轴的刻度数(注意:这里的刻度数是一个预估值,报表引擎在渲染时可能会根据实际情况改变最终呈现的刻度数)
221 +|(% colspan="1" rowspan="3" style="width:76.9844px" %)(((
222 +图例
171 171  
172 -[[image:1740737403837-995.png]]
224 +
225 +)))|(% colspan="1" rowspan="1" style="width:94px" %)(((
226 +显示图例
227 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)(((
228 +默认开启, 关闭后则不显示图例
229 +
230 +[[image:1729737941885-204.png||height="506" width="842"]]
173 173  )))
174 -|(% colspan="1" rowspan="1" %)(((
175 - Legend position
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
232 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
233 +图例位置
234 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置
235 +|(% colspan="1" rowspan="1" style="width:94px" %)(((
236 +颜色字号
237 +)))|(% colspan="1" rowspan="1" style="width:1272px" %)支持用户根据需要自行调整图例的文字颜色和字体大小
1740732178186-806.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -74.3 KB
内容
1740732311368-570.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -102.5 KB
内容
1740732470025-322.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -81.1 KB
内容
1740732719678-598.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -107.7 KB
内容
1740732916511-206.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -109.9 KB
内容
1740733102756-962.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -100.9 KB
内容
1740733325618-128.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -61.4 KB
内容
1740737403837-995.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.maym
大小
... ... @@ -1,1 +1,0 @@
1 -55.0 KB
内容