由 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,140 +1,102 @@ 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 -==== ** 【基本要求】** ====18 +==== **[Basic Requirements ]** ==== 19 19 20 - 饼图的基本要求如下:20 + The basic requirements for a pie chart are as follows: 21 21 22 -(% style="width:4 02px" %)23 -|(% style="width: 175px" %)分类字段|(% style="width:225px" %)数值字段24 -|(% style="width: 175px" %)最多1个字段|(% style="width:225px" %)最多1个字段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 25 25 26 - ====**【操作步骤】**====26 + **Step-1 Select components and configure data sources** 27 27 28 - **Step-1选择组件,配置数据源**28 + Create a report, select the pie chart in the upper left corner, and then choose the data source, as shown in the figure: 29 29 30 - 创建报表,在左上角选择饼状图,然后选定数据源,如图:30 +[[image:1741595325557-627.png]] 31 31 32 32 33 + **Step-2 Select chart display fields** 33 33 34 - **Step-2选择图表展示字段**35 + Drag and drop the fields from the data source on the right onto the classification and numerical fields. 35 35 36 - 将右边数据源中字段拖动放到**分类字段**、**数值字段**上 37 - 38 38 * ((( 39 - 饼状图的数据源:38 +Data source for pie chart: 40 40 41 - 有了分类字段和数值字段,就可以根据数据的实际情况,绘制出正确的饼状图。下图中:将分类字段拖入销售物品类型,数值字段拖入销售数量,则可以得出:【按照销售物品类型分类后的销售数量的统计饼状图】40 + 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: Drag the order time into the category field and the order amount into the numerical field, and you will get the following pie chart of order amounts classified by order date: 42 42 43 - 44 44 * ((( 45 -** 分类字段:**本字段表示数据的类别或分类,每个数据点都应该有一个对应的类别。类别字段可以是产品名称、地区名称、部门名称等,用于表示数据所属的具体类别。43 +**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. 46 46 ))) 47 47 * ((( 48 -** 数值字段:**本字段表示每个类别的具体数值/数量。数值字段可以是销售额、销售数量、市场份额等,用于表示每个类别在总体中的比例或占比。46 +**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. 49 49 50 -> 51 - 52 52 ((( 53 -====== 如果在数值字段(虚线框)中拖入非数值类型的字段(如:字符串、日期、地点类型),会根据默认聚合方式(计数),将字符串、日期、地点转化为该字段出现的次数======49 +====== 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). ====== 54 54 ))) 55 55 56 -[[image:17 29749814387-113.png||height="669" width="1300"]]52 +[[image:1741595446152-461.png]] 57 57 ))) 58 58 ))) 59 59 60 - **Step-3 样式设置**56 + **Step-3 Style settings** 61 61 62 - 分为三小类:【基础设置】、【标签】,【图例】,如下图:58 + Divided into three categories: Basic Settings, Labels, and Legends, as shown in the following figure: 63 63 64 -[[image:17 29750188515-947.png||height="766" width="1425"]]60 +[[image:1741595493430-615.png]] 65 65 66 66 67 -((( 68 - 69 -))) 63 +==== **[Style Configuration Description]** ==== 70 70 71 -((( 72 - 73 - 74 - 65 +|(% colspan="1" rowspan="1" style="width:107px" %)Classification|(% colspan="1" rowspan="1" style="width:150px" %)Configuration Items|(% colspan="1" rowspan="1" style="width:1304px" %)((( 66 +Purpose 75 75 ))) 68 +|(% colspan="1" rowspan="6" style="width:107px" %)((( 69 +Basic Style 76 76 77 -==== **【样式配置说明】** ==== 78 - 79 -|(% colspan="1" rowspan="1" %)((( 80 80 81 -)))|(% colspan="1" rowspan="1" style="width:107px" %)((( 82 -样式设置分类 83 -)))|(% colspan="1" rowspan="1" style="width:150px" %)((( 84 -配置项 85 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 86 -用途 87 -))) 88 -|(% colspan="1" rowspan="15" %)((( 89 -**饼状图** 72 +)))|(% colspan="1" rowspan="1" style="width:150px" %)Show heading|(% colspan="1" rowspan="1" style="width:1304px" %)((( 73 +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 90 90 91 - 92 -)))|(% colspan="1" rowspan="6" style="width:107px" %)((( 93 -基础设置 94 - 95 - 96 -)))|(% colspan="1" rowspan="1" style="width:150px" %)((( 97 -显示标题 98 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 99 -控制画布左上角的标题是否显示的开关 100 - 101 -[[image:1729754356435-491.png]] 75 +[[image:1741595558139-598.png]] 102 102 ))) 103 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 104 -标题名称 105 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)支持用户自定义报表标题 106 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 107 -帮助文字 108 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)开启后,标题右侧出现小问号,鼠标悬浮时,出现帮助文字具体内容 109 -[[image:1729754478509-444.png]] 110 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 111 -帮助文字内容 112 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)支持用户自定义帮助文字的文案,例如“本月销售总额统计” 113 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 114 -饼状图类型 115 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 116 -默认选中“常规”,第二选项:环形图,环形图效果如下: 77 +|(% colspan="1" rowspan="1" style="width:150px" %)Chart title|(% colspan="1" rowspan="1" style="width:1304px" %)You can name the chart by yourself 78 +|(% 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 79 +[[image:1741595638111-718.png]] 80 +|(% 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 81 +|(% colspan="1" rowspan="1" style="width:150px" %)Pie chart type|(% colspan="1" rowspan="1" style="width:1304px" %)((( 82 +By default, "General" is selected. The second option is a circular chart, which has the following effect: 117 117 118 -[[image:17 29754564047-207.png||height="451" width="1137"]]84 +[[image:1741595667776-260.png]] 119 119 120 120 121 121 ))) 122 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 123 -配色方案 124 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 125 -支持用户自定义图形整体的配色方案 126 -))) 127 -|(% colspan="1" rowspan="6" style="width:107px" %)((( 128 -标签 88 +|(% 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 89 +|(% colspan="1" rowspan="5" style="width:107px" %)((( 90 +Label 129 129 130 130 131 131 )))|(% colspan="1" rowspan="1" style="width:150px" %)((( 132 - 显示标签94 +Display Label 133 133 )))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 134 134 ((( 135 - 控制是否显示标签的开关,如下图:97 +Control whether to display the labels of the pie chart, as shown in the following figure: 136 136 137 -[[image:17 29754768467-631.png||height="523" width="1081"]]99 +[[image:1741595724904-816.png]] 138 138 ))) 139 139 140 140 ((( ... ... @@ -141,73 +141,41 @@ 141 141 142 142 ))) 143 143 ))) 106 +|(% colspan="1" rowspan="1" style="width:150px" %)Color font size|(% colspan="1" rowspan="1" style="width:1304px" %)Support user-defined color and font size for label 144 144 |(% colspan="1" rowspan="1" style="width:150px" %)((( 145 -颜色字号 146 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 147 -略 148 -))) 149 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 150 -连接线 151 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 152 -默认开启,连接标签和图形的线段 108 +Label position 153 153 154 -[[image:1729755002756-406.png]] 155 -))) 156 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 157 -标签位置 158 - 159 159 160 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 161 -内部,外部,蜘蛛图 162 - 163 -标签在内部的样式示例: 164 - 165 -[[image:1729755807593-924.png]] 166 - 167 -标签为住蜘蛛图示例: 168 - 169 -[[image:1729755819541-398.png]] 170 - 171 - 172 -))) 111 +)))|(% colspan="1" rowspan="1" style="width:1304px" %)Provide 3 modes: internal, external, spider diagram 173 173 |(% colspan="1" rowspan="1" style="width:150px" %)((( 174 - 标签内容113 +Label content 175 175 176 176 177 177 )))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 178 - 是标题、百分比、值的各种排列组合,默认选择【标题,百分比】如下,用户也可以改成其他内容,例如“标题,值(百分比)”,如下图:117 +It is a combination of titles, percentages, and values arranged in various ways. The default combination is [title, percentage], but users can also change it to other content, such as the "title, value (percentage)" combination, as shown in the following figure: 179 179 180 -[[image:17 29756074259-175.png]]119 +[[image:1741595756674-393.png]] 181 181 182 182 183 183 ))) 184 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 185 -百分比小数位数 186 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 187 -设置上述标签内容中,百分比的小数位数,例如设置成显示3位小数,如下图: 123 +|(% colspan="1" rowspan="1" style="width:150px" %)% decimals|(% colspan="1" rowspan="1" style="width:1304px" %)((( 124 +Set the decimal places for percentages in the above labels, for example, to display 3 decimal places, as shown in the following figure: 188 188 189 -[[image:17 29756197988-684.png]]126 +[[image:1741595788641-743.png]] 190 190 191 191 192 192 193 193 ))) 194 194 |(% colspan="1" rowspan="3" style="width:107px" %)((( 195 - 图例132 +Legend 196 196 )))|(% colspan="1" rowspan="1" style="width:150px" %)((( 197 - 显示图例134 +Show legend 198 198 )))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 199 - 默认开启,如下图:136 +By default, it is turned on, and when turned off, the legend will not be displayed 200 200 201 -[[image:17 29756246566-930.png]]138 +[[image:1741595825268-360.png]] 202 202 ))) 203 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 204 -图例位置 205 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 206 -图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置 207 - 208 - 209 - 140 +|(% colspan="1" rowspan="1" style="width:150px" %)Legend position|(% colspan="1" rowspan="1" style="width:1304px" %)((( 141 +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 210 210 ))) 211 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 212 -颜色字号 213 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)支持用户根据需要自行调整图例的文字颜色和字体大小 143 +|(% colspan="1" rowspan="1" style="width:150px" %)Color and font size|(% colspan="1" rowspan="1" style="width:1304px" %)Adjust the text color and font size of the legend
- 1729843622506-386.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.YufeiLi - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +37.5 KB - 内容
- 1741595309305-287.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +70.8 KB - 内容
- 1741595325557-627.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +70.8 KB - 内容
- 1741595446152-461.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +115.3 KB - 内容
- 1741595493430-615.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +102.0 KB - 内容
- 1741595558139-598.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +61.0 KB - 内容
- 1741595638111-718.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - 内容
- 1741595667776-260.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +119.8 KB - 内容
- 1741595724904-816.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +117.9 KB - 内容
- 1741595756674-393.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +123.1 KB - 内容
- 1741595788641-743.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +117.3 KB - 内容
- 1741595825268-360.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.maym - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +73.9 KB - 内容