由 liuqing01 于 2025/06/30 11:36 最后修改
摘要
细节
- 页面属性
-
- 标题
-
... ... @@ -1,1 +1,1 @@ 1 -5.8.2.3 饼状图1 +5.8.2.3 Pie chart - 父
-
... ... @@ -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.y inshi1 +XWiki.maym - 内容
-
... ... @@ -1,57 +1,55 @@ 1 -==== ** 【使用场景】** ====1 +==== **[Usage Scenario]** ==== 2 2 3 - 饼状图是一种常用的数据可视化图表类型,它将数据呈现为一个类似于饼状的圆形,将不同数据分类的比例以扇形的方式展示出来,适用于以下一些场景:3 + A pie chart is a commonly used type of data visualization chart that presents data as a circular shape resembling a pie chart, displaying the proportions of different data classifications in a fan-shaped manner. It is suitable for the following scenarios: 4 4 5 5 * ((( 6 -** 比例展示**:饼状图适合展示不同类别在总体中的比例或占比关系。比如,市场份额、各种支出占总支出的比例等。6 +**Proportional display:** A pie chart is suitable for displaying the proportion or proportion relationship of different categories in the population. For example, market share, the proportion of various expenses to total expenses, etc. 7 7 ))) 8 8 * ((( 9 -** 分类展示**:饼状图可以将数据按照不同的类别进行分类展示,直观地展示各个类别之间的比较。比如,不同产品的销售比例、不同地区的销售占比等。9 +**Category Display:** A pie chart can classify and display data according to different categories, visually showing comparisons between different categories. For example, the sales proportion of different products, the sales proportion of different regions, etc. 10 10 ))) 11 11 * ((( 12 -** 趋势分析**:通过观察饼状图中各个扇形的大小变化,可以分析数据的趋势和变化情况。比如,销售额的季节性变化、不同年龄段用户的占比变化等。12 +**Trend analysis:** By observing the size changes of each sector in the pie chart, the trend and changes of the data can be analyzed. For example, seasonal changes in sales revenue, changes in the proportion of users in different age groups, etc. 13 13 ))) 14 14 * ((( 15 -** 重点突出**:可以通过突出饼状图中某个扇形或几个重要的扇形,来强调特定的数据或类别。比如,突出某个产品的市场份额、突出某个地区的销售占比等。15 +**Highlights**: Specific data or categories can be emphasized by highlighting a sector or several important sectors in the pie chart. For example, highlighting the market share of a certain product, highlighting the sales proportion of a certain region, etc. 16 16 ))) 17 17 18 +==== **[Basic Requirements ]** ==== 18 18 19 - ====**【基本要求】**====20 + The basic requirements for a pie chart are as follows: 20 20 21 - 饼图的基本要求如下: 22 +(% style="width:584px" %) 23 +|(% style="width:280px" %)Category Field|(% style="width:300px" %)Mumeric Field 24 +|(% style="width:280px" %)Only one field can be configured|(% style="width:300px" %)Only one field can be configured 22 22 23 -(% style="width:402px" %) 24 -|(% style="width:175px" %)分类字段|(% style="width:225px" %)数值字段 25 -|(% style="width:175px" %)最多1个字段|(% style="width:225px" %)最多1个字段 26 +==== Only one field can be configured ==== 26 26 27 - ====**【操作步骤】**====28 + **Step-1 Select components and configure data sources** 28 28 29 - **Step-1选择组件,配置数据源**30 + Create a report, select the pie chart in the upper left corner, and then choose the data source, as shown in the figure: 30 30 31 - 创建报表,在左上角选择饼状图,然后选定数据源,如图:32 +[[image:1729843622506-386.png||height="546" width="767"]] 32 32 33 33 35 + **Step-2 Select chart display fields** 34 34 35 - **Step-2选择图表展示字段**37 + Drag and drop the fields from the data source on the right onto the classification and numerical fields 36 36 37 - 将右边数据源中字段拖动放到**分类字段**、**数值字段**上 38 - 39 39 * ((( 40 - 饼状图的数据源:40 +Data source for pie chart: 41 41 42 - 有了分类字段和数值字段,就可以根据数据的实际情况,绘制出正确的饼状图。下图中:将分类字段拖入销售物品类型,数值字段拖入销售数量,则可以得出:【按照销售物品类型分类后的销售数量的统计饼状图】42 + With the classification field and numerical field, it is possible to draw the correct pie chart based on the actual situation of the data. In the following figure:将销售物品类型拖入分类字段中,将销售数量拖入数值字段中,则可以得出:【按照销售物品类型分类后的销售数量的统计饼状图】 43 43 44 44 45 45 * ((( 46 -** 分类字段:**本字段表示数据的类别或分类,每个数据点都应该有一个对应的类别。类别字段可以是产品名称、地区名称、部门名称等,用于表示数据所属的具体类别。46 +**Classification field:** This field represents the category or classification of the data, and each data point should have a corresponding category. The category field can be product name, region name, department name, etc., used to indicate the specific category to which the data belongs. 47 47 ))) 48 48 * ((( 49 -** 数值字段:**本字段表示每个类别的具体数值/数量。数值字段可以是销售额、销售数量、市场份额等,用于表示每个类别在总体中的比例或占比。49 +**Numerical field:** This field represents the specific numerical value/quantity for each category. Numerical fields can be sales revenue, sales quantity, market share, etc., used to represent the proportion or percentage of each category in the overall population. 50 50 51 -> 52 - 53 53 ((( 54 -====== 如果在数值字段(虚线框)中拖入非数值类型的字段(如:字符串、日期、地点类型),会根据默认聚合方式(计数),将字符串、日期、地点转化为该字段出现的次数======52 +====== If a non numeric field (such as string, date, location type) is dragged into a numeric field (dashed box), the string, date, location will be converted to the number of times the field appears based on the default aggregation method (count) ====== 55 55 ))) 56 56 57 57 [[image:1729749814387-113.png||height="669" width="1300"]] ... ... @@ -58,9 +58,9 @@ 58 58 ))) 59 59 ))) 60 60 61 - **Step-3 样式设置**59 + **Step-3 Style settings** 62 62 63 - 分为三小类:【基础设置】、【标签】,【图例】,如下图:61 + Divided into three categories: Basic Settings, Labels, and Legends, as shown in the following figure: 64 64 65 65 [[image:1729750188515-947.png||height="766" width="1425"]] 66 66 ... ... @@ -75,190 +75,99 @@ 75 75 76 76 ))) 77 77 78 -==== ** 【样式配置说明】** ====76 +==== **[Style Configuration Description]** ==== 79 79 80 -|(% colspan="1" rowspan="1" %)((( 81 - 82 -)))|(% colspan="1" rowspan="1" %)((( 83 -样式设置分类 84 -)))|(% colspan="1" rowspan="1" %)((( 85 -配置项 86 -)))|(% colspan="1" rowspan="1" %)((( 87 -形态 88 -)))|(% colspan="1" rowspan="1" %)((( 89 - 78 +|(% colspan="1" rowspan="1" style="width:107px" %)Classification|(% colspan="1" rowspan="1" style="width:150px" %)Configuration Items|(% colspan="1" rowspan="1" style="width:1304px" %)((( 79 +Purpose 90 90 ))) 91 -|(% colspan="1" rowspan="1 8" %)(((92 - **饼状图**81 +|(% colspan="1" rowspan="6" style="width:107px" %)((( 82 +Basic Style 93 93 94 94 95 -)))|(% colspan="1" rowspan=" 9" %)(((96 - 基础85 +)))|(% colspan="1" rowspan="1" style="width:150px" %)Show heading|(% colspan="1" rowspan="1" style="width:1304px" %)((( 86 +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; 97 97 98 - 99 -)))|(% colspan="1" rowspan="1" %)((( 100 -显示标题 101 -)))|(% colspan="1" rowspan="1" %)((( 102 -开关 103 -)))|(% colspan="1" rowspan="1" %)((( 104 -默认开启 88 +[[image:1729754356435-491.png]] 105 105 ))) 106 -|(% colspan="1" rowspan="1" %)((( 107 -标题名称 108 -)))|(% colspan="1" rowspan="1" %)((( 109 -输入框 110 -)))|(% colspan="1" rowspan="1" %)((( 111 -默认输入:饼状图 112 -))) 113 -|(% colspan="1" rowspan="1" %)((( 114 -帮助文字 115 -)))|(% colspan="1" rowspan="1" %)((( 116 -开关 117 -)))|(% colspan="1" rowspan="1" %)((( 118 -默认关闭 119 -))) 120 -|(% colspan="1" rowspan="1" %)((( 121 -帮助文字内容 122 -)))|(% colspan="1" rowspan="1" %)((( 123 -输入框 124 -)))|(% colspan="1" rowspan="1" %)((( 125 -占位提示:请输入 126 -))) 127 -|(% colspan="1" rowspan="1" %)((( 128 -折线图类型 129 -)))|(% colspan="1" rowspan="1" %)((( 130 -选项卡 131 -)))|(% colspan="1" rowspan="1" %)((( 132 -默认选中“常规”,第二选项:环形图,环形图效果如下: 90 +|(% colspan="1" rowspan="1" style="width:150px" %)Chart title|(% colspan="1" rowspan="1" style="width:1304px" %)You can name the chart by yourself 91 +|(% colspan="1" rowspan="1" style="width:150px" %)Help text|(% colspan="1" rowspan="1" style="width:1304px" %)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; 92 +[[image:1729754478509-444.png]] 93 +|(% colspan="1" rowspan="1" style="width:150px" %)Help text content|(% colspan="1" rowspan="1" style="width:1304px" %)Enter a description of the chart here to help client users understand the chart data; 94 +|(% colspan="1" rowspan="1" style="width:150px" %)Pie chart type|(% colspan="1" rowspan="1" style="width:1304px" %)((( 95 +By default, "General" is selected. The second option is a circular chart, which has the following effect: 133 133 134 -[[image: https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=NTJjYWU5ZjE3Njc4MTk1MmE2NzhkZDYwMWExMjA4MDdfWnlaZEkxeDVHQVpMdnBCaW1JaUdSTGhISUYyaGxGaXpfVG9rZW46VFFHQWJBUXJTb0J3MGN4ektyMWNINVlvbkVlXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]]97 +[[image:1729754564047-207.png||height="451" width="1137"]] 135 135 136 136 137 137 ))) 138 -|(% colspan="1" rowspan="1" %)((( 139 -配色方案 140 -)))|(% colspan="1" rowspan="1" %)((( 141 -按钮或下拉 142 -)))|(% colspan="1" rowspan="1" %)((( 143 - 144 -))) 145 -|(% colspan="1" rowspan="1" %)((( 146 -启用导出 147 -)))|(% colspan="1" rowspan="1" %)((( 148 -开关 149 -)))|(% colspan="1" rowspan="1" %)((( 150 -默认打开 151 -))) 152 -|(% colspan="1" rowspan="1" %)((( 153 -导出格式 154 -)))|(% colspan="1" rowspan="1" %)((( 155 -多选 156 -)))|(% colspan="1" rowspan="1" %)((( 157 -同柱状图 158 -))) 159 -|(% colspan="1" rowspan="1" %)((( 160 - 161 -)))|(% colspan="1" rowspan="1" %)((( 162 - 163 -)))|(% colspan="1" rowspan="1" %)((( 164 - 165 -))) 166 -|(% colspan="1" rowspan="6" %)((( 101 +|(% colspan="1" rowspan="1" style="width:150px" %)Color scheme|(% colspan="1" rowspan="1" style="width:1304px" %)Customize the color scheme of the Y-axis pillar; 102 +|(% colspan="1" rowspan="5" style="width:107px" %)((( 167 167 标签 168 168 169 169 170 -)))|(% colspan="1" rowspan="1" %)((( 106 +)))|(% colspan="1" rowspan="1" style="width:150px" %)((( 171 171 显示标签 172 -)))|(% colspan="1" rowspan="1" %)((( 173 -开关 174 -)))|(% colspan="1" rowspan="1" %)((( 175 -默认开启 108 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 109 +((( 110 +控制是否显示标签的开关,如下图: 111 + 112 +[[image:1729754768467-631.png||height="523" width="1081"]] 176 176 ))) 177 -|(% colspan="1" rowspan="1" %)((( 178 -颜色字号 179 -)))|(% colspan="1" rowspan="1" %)((( 180 -拾色器+下拉 181 -)))|(% colspan="1" rowspan="1" %)((( 182 -默认:黑色,12号字 114 + 115 +((( 116 + 183 183 ))) 184 -|(% colspan="1" rowspan="1" %)((( 185 -连接线 186 -)))|(% colspan="1" rowspan="1" %)((( 187 -开关 188 -)))|(% colspan="1" rowspan="1" %)((( 189 -默认开启 190 190 ))) 191 -|(% colspan="1" rowspan="1" %)((( 119 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 120 +颜色字号 121 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 122 +略 123 +))) 124 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 192 192 标签位置 193 193 194 194 195 -)))|(% colspan="1" rowspan="1" %)((( 196 -选项卡 197 -)))|(% colspan="1" rowspan="1" %)((( 198 -内部,外部,蜘蛛图 199 - 200 -标签在内部的样式示例: 201 - 202 -[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MTkxOGEyZTAxZDMyYWYwNTgzYThlNjE4NjFlYTgzY2FfRUtkS1BFUzZpazNSNXlDSTZIYTNoM1hIREo1NUtCSDhfVG9rZW46Vkp2eGJnMERmbzQ1cFN4YXB3cWNxc1FkbmdlXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]] 203 - 204 -标签为住蜘蛛图示例: 205 - 206 -[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=ZjU0N2U1ZmRkNmRjNTNkNjlkMDU1YjljNmU3MDdlYzhfcElWRVcxejlSdE9zSktrVmZXcmxLTHBnaVRWZmtzWk1fVG9rZW46TnZyUWI2WDRMb0pta2d4S0pEN2NTRGpBbmdiXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]] 207 - 208 - 128 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 129 +支持3种模式:内部,外部,蜘蛛图 209 209 ))) 210 -|(% colspan="1" rowspan="1" %)((( 131 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 211 211 标签内容 212 212 213 213 214 -)))|(% colspan="1" rowspan="1" %)((( 215 -下 拉135 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 136 +是标题、百分比、值的各种排列组合,默认选择【标题,百分比】如下,用户也可以改成其他内容,例如“标题,值(百分比)”,如下图: 216 216 217 - 218 -)))|(% colspan="1" rowspan="1" %)((( 219 -是标题、百分比、值的各种排列组合,默认选择【标题,百分比】如下: 138 +[[image:1729756074259-175.png]] 220 220 221 -[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=M2FiYWI0ZDIyZGFiNzM0NGEyNTgwOTI2NGU2OWVjY2RfU292b0x5eFQxMFZwR2xHazc2YUwxNU5Eb2E4TXplTjFfVG9rZW46T2VVcWJpMXZ0b3ZOVjZ4TGJCZGNpV3BibnloXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]] 222 - 223 223 224 224 ))) 225 -|(% colspan="1" rowspan="1" %)((( 142 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 226 226 百分比小数位数 227 -)))|(% colspan="1" rowspan="1" %)((( 228 -下拉选择 229 -)))|(% colspan="1" rowspan="1" %)((( 230 -默认是2。 144 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 145 +设置上述标签内容中,百分比的小数位数,例如设置成显示3位小数,如下图: 231 231 232 -[[image: https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=YmFkMjkzNTY2ZmIxOGY5MmFhNmM4OTRiZGQzMWQxYzVfUzhNTW44d1VBM3FSeERmeHgyYVNHYVk4RVhpSGJvblhfVG9rZW46WGhOUmI1VHRtb1BNWTB4cHJxOWNIbFZjbkxoXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]]147 +[[image:1729756197988-684.png]] 233 233 149 + 234 234 235 235 ))) 236 -|(% colspan="1" rowspan="3" %)((( 152 +|(% colspan="1" rowspan="3" style="width:107px" %)((( 237 237 图例 238 -)))|(% colspan="1" rowspan="1" %)((( 154 +)))|(% colspan="1" rowspan="1" style="width:150px" %)((( 239 239 显示图例 240 -)))|(% colspan="1" rowspan="1" %)((( 241 -开 关242 - )))|(% colspan="1" rowspan="1" %)(((243 - 默认开启156 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 157 +默认开启, 如下图: 158 + 159 +[[image:1729756246566-930.png]] 244 244 ))) 245 -|(% colspan="1" rowspan="1" %)((( 161 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 246 246 图例位置 247 -)))|(% colspan="1" rowspan="1" %)((( 248 -八宫格 249 -)))|(% colspan="1" rowspan="1" %)((( 250 -默认选中:左上角。 163 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 164 +图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置 251 251 252 -注意:如果用户选中3点或9点这两个位置的时候, 图例需要**纵向**排列(如下图),其余位置是横向排列的。 253 253 254 -[[image:https://quickegret.feishu.cn/space/api/box/stream/download/asynccode/?code=MDFmOWViNzA5NjkzYzZhYjkzMDlkYTNmZTA0NDA1M2FfT2JpNFBwR2tDRTBBTGtGSVRYS2IxT2VjVzVsM2ZSc0FfVG9rZW46RjhHZGJaejlhbzUxV2Z4OEZwRmNsM1Iwbm1lXzE3Mjk3MzgxMDg6MTcyOTc0MTcwOF9WNA]] 255 - 256 256 257 257 ))) 258 -|(% colspan="1" rowspan="1" %)((( 169 +|(% colspan="1" rowspan="1" style="width:150px" %)((( 259 259 颜色字号 260 -)))|(% colspan="1" rowspan="1" %)((( 261 -拾色器+下拉 262 -)))|(% colspan="1" rowspan="1" %)((( 263 -默认:黑色,12号字 264 -))) 171 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)支持用户根据需要自行调整图例的文字颜色和字体大小
- 1729754311290-456.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +26.7 KB - 内容
- 1729754333571-786.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +11.1 KB - 内容
- 1729754356435-491.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +19.1 KB - 内容
- 1729754478509-444.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +20.4 KB - 内容
- 1729754564047-207.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +73.4 KB - 内容
- 1729754768467-631.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +51.1 KB - 内容
- 1729755002756-406.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +16.5 KB - 内容
- 1729755807593-924.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - 内容
- 1729755819541-398.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +26.9 KB - 内容
- 1729756074259-175.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +68.2 KB - 内容
- 1729756197988-684.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +43.2 KB - 内容
- 1729756246566-930.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +27.7 KB - 内容
- 1729843622506-386.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +37.5 KB - 内容