liuqing01 于 2025/06/18 10:08 最后修改

从版本 3.1
yinshi编辑
在2024/10/25 08:06上
修改评论: 该版本没有评论
到版本
maym编辑
在2025/03/18 10:05上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -5.8.2.5 指标卡
1 +5.8.2.5 Indicator Card
... ... @@ -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,187 +1,78 @@
1 -==== 【使用场景】 ====
1 +==== **[Usage Scenario]** ====
2 2  
3 -适用于需要直接显示重点数据的场景。例如可以使用指标卡展示商品的销售总额、发货数量、仓库库存数量等
3 +It is suitable for scenarios that require directly highlighting key data. For example, indicator cards can be used to display metrics such as total product sales, delivery quantity, and warehouse inventory levels.
4 4  
5 -如下图所示,使用指标卡直接显示销售总金额,方便以卡片形式突出显示
5 +As shown in the figure below, the indicator card directly displays the total sales amount, effectively highlighting this key metric in a card format.
6 6  
7 -[[image:1729839523741-806.png||height="380" width="1091"]]
7 +[[image:1742287452034-168.png]]
8 8  
9 -==== 【基本要求】 ====
9 +==== **[Basic Requirements ]** ====
10 10  
11 11  (% style="width:650.222px" %)
12 -|(% style="width:290px" %)指标|(% style="width:356px" %)指标字段类型
13 -|(% style="width:290px" %)必填,最多8个字段|(% style="width:356px" %)必须是聚合字段公式内字段也需要为聚合字段
12 +|(% style="width:290px" %)Indicator|(% style="width:356px" %)Indicator field type
13 +|(% style="width:290px" %)Required, maximum of 8 fields.|(% style="width:356px" %)Must be an aggregatable field.
14 14  
15 -**指标**:指标卡中显示的数字,是聚合后的结果,换句话说,指标卡中一定显示的是数字
15 +**Indicator:**The numbers displayed in the indicator cards are aggregated results, meaning that the indicator cards must exclusively show numerical values.
16 16  
17 17  
18 18  
19 -**【配置步骤】**
19 +==== **[Configuration steps]** ====
20 20  
21 -①在图形选择区选择“指标卡”图形:首页点击指标卡后,显示demo假数据,效果如下图
21 +**Step-1 Select chart and configure data sources**
22 22  
23 +Select the 'Indicator Card' in the chart selection panel: Clicking the indicator card on the homepage displays demo sample data, as shown in the figure below.
24 +
23 23  [[image:1729843542241-466.png]]
24 24  
27 +**Step-2 Add indicator field**
25 25  
26 -②为指标卡图形添加指标,即: 拖入表单字段作为数据源:
29 +In the chart selection panel, select 'Add Metrics to Indicator Card graphic': Drag dataset fields into the Metrics section.
27 27  
28 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NTI3MzQ4NTg3ODI5MzE3YzU3MTEzMzQ0ZTk5YjBlZDJfMkNVSWxZaDFLamdNN1c4TnBPanVEMkN2cG1TNFBPOUtfVG9rZW46U3phdmJ0eHM5b01NekV4dVp3dmNFMU9XbmRmXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
31 +[[image:1737529303936-797.png]]
29 29  
30 30  
31 -3、【样式配置】
34 +**Step-2  Style settings**
32 32  
33 -如下图:
36 +[[image:1729843821098-935.png||height="659" width="1281"]]
34 34  
35 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=ZDFiNzQyYzFjMTczNzg2MWFkMzYxZjZjYTMzODQ1MzJfTlB6bmE3Z09yQ1dGMlA2SXJlV3lyY2d0MmNZdXkwZkJfVG9rZW46Q0FkemJ0aUVBb094aEh4allHUWNCWEVKbmNmXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
36 36  
37 37  
38 -具体可配置的样式和详细需求如下:
39 39  
40 -|(% colspan="1" rowspan="1" %)(((
41 -
42 -)))|(% colspan="1" rowspan="1" %)(((
43 -样式设置分类
44 -)))|(% colspan="1" rowspan="1" %)(((
45 -配置项
46 -)))|(% colspan="1" rowspan="1" %)(((
47 -形态
48 -)))|(% colspan="1" rowspan="1" %)(((
49 -
50 -)))
51 -|(% colspan="1" rowspan="9" %)(((
52 -**指标卡**
41 +==== **[Style Configuration Description]** ====
53 53  
54 -
55 -)))|(% colspan="1" rowspan="6" %)(((
56 -基础
43 +|(% colspan="1" rowspan="1" %)Classification|(% colspan="1" rowspan="1" %)Configuration Items|(% colspan="1" rowspan="1" %)Purpose
44 +|(% colspan="1" rowspan="7" %)(((
45 +Basic Style
57 57  
58 58  
59 -)))|(% colspan="1" rowspan="1" %)(((
60 -显示标题
61 -)))|(% colspan="1" rowspan="1" %)(((
62 -开关
63 -)))|(% colspan="1" rowspan="1" %)(((
64 -默认开启
48 +)))|(% colspan="1" rowspan="1" %)Show title|(% colspan="1" rowspan="1" %)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 "**Sales atatistis**" are shown in the following figure
49 +|(% colspan="1" rowspan="1" %)Title name|(% colspan="1" rowspan="1" %)You can name the chart by yourself
50 +|(% colspan="1" rowspan="1" %)Help text|(% colspan="1" rowspan="1" %)(((
51 +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
52 +
53 +[[image:1729844522588-836.png]]
65 65  )))
66 -|(% colspan="1" rowspan="1" %)(((
67 -标题名称
68 -)))|(% colspan="1" rowspan="1" %)(((
69 -输入框
70 -)))|(% colspan="1" rowspan="1" %)(((
71 -默认输入:指标卡
72 -)))
73 -|(% colspan="1" rowspan="1" %)(((
74 -帮助文字
75 -)))|(% colspan="1" rowspan="1" %)(((
76 -开关
77 -)))|(% colspan="1" rowspan="1" %)(((
78 -默认关闭
79 -)))
80 -|(% colspan="1" rowspan="1" %)(((
81 -帮助文字内容
82 -)))|(% colspan="1" rowspan="1" %)(((
83 -输入框
84 -)))|(% colspan="1" rowspan="1" %)(((
85 -占位提示:请输入
86 -)))
87 -|(% colspan="1" rowspan="1" %)(((
88 -启用导出
89 -)))|(% colspan="1" rowspan="1" %)(((
90 -开关
55 +|(% 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
56 +|(% colspan="1" %)Drill down|(% colspan="1" %)After enabling, you can configure drill-down detail table reports that require setup. Please select a detail table report that shares the same data source as the current report.
57 +|(% colspan="1" %)Enable export|(% colspan="1" %)After enabling, the client-side application can export indicator card data to local Excel files.
58 +|(% colspan="1" rowspan="1" %)Cols/Row|(% colspan="1" rowspan="1" %)(((
59 +(((
60 +Selectable options: 4 columns, 3 columns, or 2 columns.
91 91  
92 -
93 -)))|(% colspan="1" rowspan="1" %)(((
94 -默认打开。**导出的是报表数据源表单的Excel源数据**
62 +[[image:1742292301873-589.png]]
95 95  )))
96 -|(% colspan="1" rowspan="1" %)(((
97 -每行列数
98 -)))|(% colspan="1" rowspan="1" %)(((
99 -下拉单选
100 -)))|(% colspan="1" rowspan="1" %)(((
101 -默认:4, 可选值:4,3,2
102 -)))
103 -|(% colspan="1" rowspan="3" %)(((
104 -指标卡样式
105 105  
65 +(((
106 106  
107 -)))|(% colspan="1" rowspan="1" %)(((
108 -指标卡风格
109 -)))|(% colspan="1" rowspan="1" %)(((
110 -选项卡
111 -)))|(% colspan="1" rowspan="1" %)(((
112 -默认:纯色填充,可选值:纯色填充,带侧边条 (以UI为准)
113 113  )))
114 -|(% colspan="1" rowspan="1" %)(((
115 -背景色值
116 -)))|(% colspan="1" rowspan="1" %)(((
117 -拾色器
118 -)))|(% colspan="1" rowspan="1" %)(((
119 -默认颜色:待UI确定(以UI为准)
120 120  )))
121 -|(% colspan="1" rowspan="1" %)(((
122 -指标字号
123 -)))|(% colspan="1" rowspan="1" %)(((
124 -下拉单选
69 +|(% colspan="1" rowspan="4" %)(((
70 +Indicator card style
125 125  
126 126  
127 -)))|(% colspan="1" rowspan="1" %)(((
128 -默认:大,可选值:大,中,小(以UI为准)。只改变指标卡中数字的字号粗细,不改变指标名称的字体字号(原型中有效果展示)。
129 -)))
130 -|(% colspan="1" rowspan="1" %)(((
131 -
132 -)))|(% colspan="1" rowspan="1" %)(((
133 -
134 -)))|(% colspan="1" rowspan="1" %)(((
135 -
136 -)))|(% colspan="1" rowspan="1" %)(((
137 -
138 -)))|(% colspan="1" rowspan="1" %)(((
139 -
140 -)))
73 +)))|(% colspan="1" rowspan="1" %)Indicator style|(% colspan="1" rowspan="1" %)Select either a solid fill style or a side-bar style for display.
74 +|(% colspan="1" rowspan="1" %)Card background|(% colspan="1" rowspan="1" %)The background color of the indicator card can be customized.
75 +|(% colspan="1" rowspan="1" %)Title color|(% colspan="1" rowspan="1" %)The title color of the indicator card can be customized.
76 +|(% colspan="1" %)Indicator value|(% colspan="1" %)The font size, weight, and color of numbers in the indicator card can be adjusted.
141 141  
142 -4、【字段配置】
143 -
144 -下图中:
145 -
146 -1、截图左侧默认的选中项都是“基础设置”
147 -
148 -2、“展示格式”和“字段信息”和之前制作的折柱饼图中完全一致
149 -
150 -①设置的指标字段为“数值”类型时:(聚合方式:默认是求和)
151 -
152 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NmE0ZTVlZTJhYjAzOTEyYmVlZDEwMDMyN2IzNTNlMTBfc1p1VlhZYVBUNXVmZDJRazRMWjJRQXZpUmdyRG9pNUhfVG9rZW46QVBoeWJqYzJ6b0V4Zmt4ZjBrVWNpcFFubm5oXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
153 -
154 -
155 -②设置的指标字段为“字符串”类型时:(聚合方式:默认是计数)
156 -
157 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=Yzg4MzcyNmI4NWE1YjE1MGJiMjM5ZTE0ZTZmMTg2MGNfNUQwR1VhRzlEMWtnNXdib1FPeUdqc093T0lIdjVERERfVG9rZW46TmlFbmIzWUdJbzJHekl4UFBXeGMyMlpQbnhiXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
158 -
159 -
160 -③设置的指标字段为“日期”类型时:(聚合方式:默认是计数)
161 -
162 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NDU4M2ZiYThmZWIwMTQ0MTA2NmU1MjBjZjE2ZjQ2NWZfVjc2RDYyaUtQZUFKWGN1TG1rZkF4RmtjMkh5aGhzWVhfVG9rZW46TEhuTmJLeFpqb203WWx4OXM2T2NseXk4bkNnXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
163 -
164 -
165 -④设置的指标字段为“地址”类型时:(聚合方式:默认是计数)
166 -
167 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MmYwZGQxMWI1ZDZmZWE3YjRlNGEwYzE3NDc0YzUyN2ZfeDlja2ltWGFLRDd6N1o0anRHQ2I5U3A5WDcwbk5uM1VfVG9rZW46WGFoN2J5TVR2bzJJVEN4Z0kwS2NVeGlKbnBoXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
168 -
169 -
170 -④设置的指标字段为“公式Fx”类型时:
171 -
172 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MzU4MGYwMWQ2YWJhMjk5M2NiM2Y2ZmI0YzM0NzhiYmFfSWpQbmpNNkVUNFQzNGhqcHE4TENFVDJiQUdKWWozOHZfVG9rZW46UlYxUGIyalBub2hFcXh4ek1TRGNVTVZibnRkXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
173 -
174 -
175 -表单中用户提交的数据中,**如果有空值, 是否纳入指标卡中数字的计算?**
176 -
177 -答:
178 -
179 -不纳入计算, 如下例子:
180 -
181 -表单中共4条数据,但是其中1条数据的评分和日期没有填,
182 -
183 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MGRhYTMyMGNhZjI5YTNlMGJjMzZjNDZlNmI1ZDE1Y2ZfTUUxdGdPamt5d2FxeWFqZjhwTzZYNTU0Z3BhYm5QNGVfVG9rZW46QjYzRGJpd3ZJb0o4MEl4b0F5YWM0dXg3blJiXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]
184 -
185 -那么用指标卡的时候,计算的评分的平均值,计算日期的计数时,会显示如下结果:**即:均不把空值纳入统计**
186 -
187 187  (% contenteditable="false" style="background-image:url(http://192.168.102.35:8080/webjars/wiki%3Axwiki/xwiki-platform-ckeditor-webjar/16.8.0/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="拖曳以移動" width="15"]]
1729843773872-432.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +62.6 KB
内容
1729843821098-935.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +69.1 KB
内容
1729844522588-836.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +20.9 KB
内容
1729844573944-101.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +52.9 KB
内容
1737529303936-797.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +63.3 KB
内容
1742287452034-168.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +5.2 KB
内容
1742292301873-589.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.maym
大小
... ... @@ -1,0 +1,1 @@
1 +58.4 KB
内容