由 liuqing01 于 2025/06/18 10:08 最后修改
摘要
细节
- 页面属性
-
- 标题
-
... ... @@ -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 报表设计器.WebHome1 +Egret Cloud Operation manual.5\. 设计应用.5\.8 报表设计.5\.8\.2 报表设计器.WebHome - 文档作者
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. yinshi1 +XWiki.liuqing01 - 内容
-
... ... @@ -1,188 +1,67 @@ 1 - 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:172 9839523741-806.png]]7 +[[image:1742287452034-168.png]] 8 8 9 - 基本要求9 +==== **[Basic Requirements ]** ==== 10 10 11 +|Indicator|Indicator field type 12 +|Required, maximum of 8 fields.|Must be an aggregatable field. 11 11 12 -|指标|指标字段类型 13 -|必填,最多8个字段|必须是聚合字段公式内字段也需要为聚合字段 14 +**Indicator:**The numbers displayed in the indicator cards are aggregated results, meaning that the indicator cards must exclusively show numerical values. 14 14 15 -** 指标**:数据的总值,支持聚合,且仅显示聚合后的结果(所以指标卡中一定是显示的数字)16 +==== **[Configuration steps]** ==== 16 16 17 - 备注:**可以直接选择数据集下的字段,也可以通过公式生成**18 +**Step-1 Select chart and configure data sources** 18 18 20 +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. 19 19 20 -2 、【数据源配置】22 +[[image:1750237187237-198.png]] 21 21 22 - ①在画布中点击“指标卡”图形:首页点击指标卡后,显示demo假数据,效果如下图24 +**Step-2 Add indicator field** 23 23 24 - (% contenteditable="false"tabindex="-1"%)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NTE1YThkNDdiNDdiMTg3Y2NiYWNlYTI5YmUyMmQzZWFfZzVYTnZyOVFHdFg4ejZtRG9CWkJpc0ZFVldhRjBuZzdfVG9rZW46VVRZRmJYd1ZSb0FsdHp4MkhicmNRODFkbnloXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]26 +In the chart selection panel, select 'Add Metrics to Indicator Card graphic': Drag dataset fields into the Metrics section. 25 25 28 +[[image:1750237242845-411.png]] 26 26 27 - ②为指标卡图形添加指标,即:拖入表单字段作为数据源:30 +**Step-2 Style settings** 28 28 29 - (% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NTI3MzQ4NTg3ODI5MzE3YzU3MTEzMzQ0ZTk5YjBlZDJfMkNVSWxZaDFLamdNN1c4TnBPanVEMkN2cG1TNFBPOUtfVG9rZW46U3phdmJ0eHM5b01NekV4dVp3dmNFMU9XbmRmXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]]32 +[[image:1742292450362-628.png]] 30 30 34 +==== **[Style Configuration Description]** ==== 31 31 32 -3、【样式配置】 36 +|(% colspan="1" rowspan="1" %)Classification|(% colspan="1" rowspan="1" %)Configuration Items|(% colspan="1" rowspan="1" %)Purpose 37 +|(% colspan="1" rowspan="7" %)((( 38 +Basic Style 33 33 34 -如下图: 35 - 36 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=ZDFiNzQyYzFjMTczNzg2MWFkMzYxZjZjYTMzODQ1MzJfTlB6bmE3Z09yQ1dGMlA2SXJlV3lyY2d0MmNZdXkwZkJfVG9rZW46Q0FkemJ0aUVBb094aEh4allHUWNCWEVKbmNmXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 37 - 38 - 39 -具体可配置的样式和详细需求如下: 40 - 41 -|(% colspan="1" rowspan="1" %)((( 42 42 43 -)))|(% colspan="1" rowspan="1" %)((( 44 -样式设置分类 45 -)))|(% colspan="1" rowspan="1" %)((( 46 -配置项 47 -)))|(% colspan="1" rowspan="1" %)((( 48 -形态 49 -)))|(% colspan="1" rowspan="1" %)((( 50 - 51 -))) 52 -|(% colspan="1" rowspan="9" %)((( 53 -**指标卡** 41 +)))|(% 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 42 +|(% colspan="1" rowspan="1" %)Title name|(% colspan="1" rowspan="1" %)You can name the chart by yourself 43 +|(% colspan="1" rowspan="1" %)Help text|(% colspan="1" rowspan="1" %)((( 44 +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 54 54 55 - 56 -)))|(% colspan="1" rowspan="6" %)((( 57 -基础 58 - 59 - 60 -)))|(% colspan="1" rowspan="1" %)((( 61 -显示标题 62 -)))|(% colspan="1" rowspan="1" %)((( 63 -开关 64 -)))|(% colspan="1" rowspan="1" %)((( 65 -默认开启 46 +[[image:1742292355305-673.png]] 66 66 ))) 67 -|(% colspan="1" rowspan="1" %)((( 68 -标题名称 69 -)))|(% colspan="1" rowspan="1" %)((( 70 -输入框 71 -)))|(% colspan="1" rowspan="1" %)((( 72 -默认输入:指标卡 73 -))) 74 -|(% colspan="1" rowspan="1" %)((( 75 -帮助文字 76 -)))|(% colspan="1" rowspan="1" %)((( 77 -开关 78 -)))|(% colspan="1" rowspan="1" %)((( 79 -默认关闭 80 -))) 81 -|(% colspan="1" rowspan="1" %)((( 82 -帮助文字内容 83 -)))|(% colspan="1" rowspan="1" %)((( 84 -输入框 85 -)))|(% colspan="1" rowspan="1" %)((( 86 -占位提示:请输入 87 -))) 88 -|(% colspan="1" rowspan="1" %)((( 89 -启用导出 90 -)))|(% colspan="1" rowspan="1" %)((( 91 -开关 48 +|(% 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 49 +|(% 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. 50 +|(% colspan="1" %)Enable export|(% colspan="1" %)After enabling, the client-side application can export indicator card data to local Excel files. 51 +|(% colspan="1" rowspan="1" %)Cols/Row|(% colspan="1" rowspan="1" %)((( 52 +Selectable options: 4 columns, 3 columns, or 2 columns. 92 92 93 - 94 -)))|(% colspan="1" rowspan="1" %)((( 95 -默认打开。**导出的是报表数据源表单的Excel源数据** 96 -))) 97 -|(% colspan="1" rowspan="1" %)((( 98 -每行列数 99 -)))|(% colspan="1" rowspan="1" %)((( 100 -下拉单选 101 -)))|(% colspan="1" rowspan="1" %)((( 102 -默认:4, 可选值:4,3,2 103 -))) 104 -|(% colspan="1" rowspan="3" %)((( 105 -指标卡样式 54 +[[image:1742292301873-589.png]] 106 106 107 107 108 -)))|(% colspan="1" rowspan="1" %)((( 109 -指标卡风格 110 -)))|(% colspan="1" rowspan="1" %)((( 111 -选项卡 112 -)))|(% colspan="1" rowspan="1" %)((( 113 -默认:纯色填充,可选值:纯色填充,带侧边条 (以UI为准) 114 114 ))) 115 -|(% colspan="1" rowspan="1" %)((( 116 -背景色值 117 -)))|(% colspan="1" rowspan="1" %)((( 118 -拾色器 119 -)))|(% colspan="1" rowspan="1" %)((( 120 -默认颜色:待UI确定(以UI为准) 121 -))) 122 -|(% colspan="1" rowspan="1" %)((( 123 -指标字号 124 -)))|(% colspan="1" rowspan="1" %)((( 125 -下拉单选 58 +|(% colspan="1" rowspan="4" %)((( 59 +Indicator card style 126 126 127 127 128 -)))|(% colspan="1" rowspan="1" %)((( 129 -默认:大,可选值:大,中,小(以UI为准)。只改变指标卡中数字的字号粗细,不改变指标名称的字体字号(原型中有效果展示)。 130 -))) 131 -|(% colspan="1" rowspan="1" %)((( 132 - 133 -)))|(% colspan="1" rowspan="1" %)((( 134 - 135 -)))|(% colspan="1" rowspan="1" %)((( 136 - 137 -)))|(% colspan="1" rowspan="1" %)((( 138 - 139 -)))|(% colspan="1" rowspan="1" %)((( 140 - 141 -))) 62 +)))|(% colspan="1" rowspan="1" %)Indicator style|(% colspan="1" rowspan="1" %)Select either a solid fill style or a side-bar style for display. 63 +|(% colspan="1" rowspan="1" %)Card background|(% colspan="1" rowspan="1" %)The background color of the indicator card can be customized. 64 +|(% colspan="1" rowspan="1" %)Title color|(% colspan="1" rowspan="1" %)The title color of the indicator card can be customized. 65 +|(% colspan="1" %)Indicator value|(% colspan="1" %)The font size, weight, and color of numbers in the indicator card can be adjusted. 142 142 143 -4、【字段配置】 144 - 145 -下图中: 146 - 147 -1、截图左侧默认的选中项都是“基础设置” 148 - 149 -2、“展示格式”和“字段信息”和之前制作的折柱饼图中完全一致 150 - 151 -①设置的指标字段为“数值”类型时:(聚合方式:默认是求和) 152 - 153 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NmE0ZTVlZTJhYjAzOTEyYmVlZDEwMDMyN2IzNTNlMTBfc1p1VlhZYVBUNXVmZDJRazRMWjJRQXZpUmdyRG9pNUhfVG9rZW46QVBoeWJqYzJ6b0V4Zmt4ZjBrVWNpcFFubm5oXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 154 - 155 - 156 -②设置的指标字段为“字符串”类型时:(聚合方式:默认是计数) 157 - 158 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=Yzg4MzcyNmI4NWE1YjE1MGJiMjM5ZTE0ZTZmMTg2MGNfNUQwR1VhRzlEMWtnNXdib1FPeUdqc093T0lIdjVERERfVG9rZW46TmlFbmIzWUdJbzJHekl4UFBXeGMyMlpQbnhiXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 159 - 160 - 161 -③设置的指标字段为“日期”类型时:(聚合方式:默认是计数) 162 - 163 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NDU4M2ZiYThmZWIwMTQ0MTA2NmU1MjBjZjE2ZjQ2NWZfVjc2RDYyaUtQZUFKWGN1TG1rZkF4RmtjMkh5aGhzWVhfVG9rZW46TEhuTmJLeFpqb203WWx4OXM2T2NseXk4bkNnXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 164 - 165 - 166 -④设置的指标字段为“地址”类型时:(聚合方式:默认是计数) 167 - 168 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MmYwZGQxMWI1ZDZmZWE3YjRlNGEwYzE3NDc0YzUyN2ZfeDlja2ltWGFLRDd6N1o0anRHQ2I5U3A5WDcwbk5uM1VfVG9rZW46WGFoN2J5TVR2bzJJVEN4Z0kwS2NVeGlKbnBoXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 169 - 170 - 171 -④设置的指标字段为“公式Fx”类型时: 172 - 173 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MzU4MGYwMWQ2YWJhMjk5M2NiM2Y2ZmI0YzM0NzhiYmFfSWpQbmpNNkVUNFQzNGhqcHE4TENFVDJiQUdKWWozOHZfVG9rZW46UlYxUGIyalBub2hFcXh4ek1TRGNVTVZibnRkXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 174 - 175 - 176 -表单中用户提交的数据中,**如果有空值, 是否纳入指标卡中数字的计算?** 177 - 178 -答: 179 - 180 -不纳入计算, 如下例子: 181 - 182 -表单中共4条数据,但是其中1条数据的评分和日期没有填, 183 - 184 -(% contenteditable="false" tabindex="-1" %)[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MGRhYTMyMGNhZjI5YTNlMGJjMzZjNDZlNmI1ZDE1Y2ZfTUUxdGdPamt5d2FxeWFqZjhwTzZYNTU0Z3BhYm5QNGVfVG9rZW46QjYzRGJpd3ZJb0o4MEl4b0F5YWM0dXg3blJiXzE3Mjk3NTg3MjU6MTcyOTc2MjMyNV9WNA]] 185 - 186 -那么用指标卡的时候,计算的评分的平均值,计算日期的计数时,会显示如下结果:**即:均不把空值纳入统计** 187 - 188 188 (% 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"]]
- 1729843542241-466.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +17.5 KB - 内容
- 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 - 内容
- 1742292355305-673.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +53.5 KB - 内容
- 1742292450362-628.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +58.7 KB - 内容
- 1742292499859-182.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +72.1 KB - 内容
- 1742292540188-800.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +26.9 KB - 内容