由 liuqing01 于 2025/06/30 11:36 最后修改
摘要
细节
- 页面属性
-
- 文档作者
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. maym1 +XWiki.liuqing01 - 内容
-
... ... @@ -1,3 +1,5 @@ 1 + 2 + 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: ... ... @@ -19,29 +19,26 @@ 19 19 20 20 The basic requirements for a pie chart are as follows: 21 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 24 +|Category Field|Mumeric Field 25 +|Only one field can be configured|Only one field can be configured 25 25 26 -==== Onlyonefield canbeconfigured====27 +==== **[Configuration steps]** ==== 27 27 28 - **Step-1 Select componentsand configure data sources**29 + **Step-1 Select chart and configure data sources** 29 29 30 30 Create a report, select the pie chart in the upper left corner, and then choose the data source, as shown in the figure: 31 31 32 -[[image:172 9843622506-386.png||height="546" width="767"]]33 +[[image:1750236977695-351.png]] 33 33 34 - 35 35 **Step-2 Select chart display fields** 36 36 37 - Drag and drop the fields from the data source on the right onto the classification and numerical fields 37 + Drag and drop the fields from the data source on the right onto the classification and numerical fields. 38 38 39 39 * ((( 40 40 Data source for pie chart: 41 41 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: 将销售物品类型拖入分类字段中,将销售数量拖入数值字段中,则可以得出:【按照销售物品类型分类后的销售数量的统计饼状图】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: 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: 43 43 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,11 +48,9 @@ 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 -====== 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) ====== 53 -))) 50 +====== 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 -[[image:172 9749814387-113.png||height="669" width="1300"]]52 +[[image:1750237017901-981.png]] 56 56 ))) 57 57 ))) 58 58 ... ... @@ -60,112 +60,81 @@ 60 60 61 61 Divided into three categories: Basic Settings, Labels, and Legends, as shown in the following figure: 62 62 63 -[[image:17 29750188515-947.png||height="766" width="1425"]]60 +[[image:1741595493430-615.png]] 64 64 65 - 66 -((( 67 - 68 -))) 69 - 70 -((( 71 - 72 - 73 - 74 -))) 75 - 76 76 ==== **[Style Configuration Description]** ==== 77 77 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"%)(((64 +|(% colspan="1" rowspan="1" %)Classification|(% colspan="1" rowspan="1" %)Configuration Items|(% colspan="1" rowspan="1" %)((( 79 79 Purpose 80 80 ))) 81 -|(% colspan="1" rowspan="6" style="width:107px"%)(((67 +|(% colspan="1" rowspan="6" %)((( 82 82 Basic Style 83 83 84 84 85 -)))|(% colspan="1" rowspan="1" style="width:150px"%)Showheading|(% 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;71 +)))|(% colspan="1" rowspan="1" %)Show title|(% colspan="1" rowspan="1" %)((( 72 +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 87 87 88 -[[image:17 29754356435-491.png]]74 +[[image:1741595558139-598.png]] 89 89 ))) 90 -|(% colspan="1" rowspan="1" style="width:150px"%)Chart title|(% colspan="1" rowspan="1"style="width:1304px"%)You can name the chart by yourself91 -|(% 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:17 29754478509-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"%)(((76 +|(% colspan="1" rowspan="1" %)Title name|(% colspan="1" rowspan="1" %)You can name the chart by yourself 77 +|(% colspan="1" rowspan="1" %)Help text|(% colspan="1" rowspan="1" %)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 78 +[[image:1741595638111-718.png]] 79 +|(% 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 80 +|(% colspan="1" rowspan="1" %)Pie chart type|(% colspan="1" rowspan="1" %)((( 95 95 By default, "General" is selected. The second option is a circular chart, which has the following effect: 96 96 97 -[[image:17 29754564047-207.png||height="451" width="1137"]]83 +[[image:1741595667776-260.png]] 98 98 99 99 100 100 ))) 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"%)(((87 +|(% colspan="1" rowspan="1" %)Color scheme|(% colspan="1" rowspan="1" %)Customize the color scheme of the Y-axis pillar 88 +|(% colspan="1" rowspan="5" %)((( 103 103 Label 104 104 105 105 106 -)))|(% colspan="1" rowspan="1" style="width:150px"%)(((92 +)))|(% colspan="1" rowspan="1" %)((( 107 107 Display Label 108 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 109 -((( 94 +)))|(% colspan="1" rowspan="1" %)((( 110 110 Control whether to display the labels of the pie chart, as shown in the following figure: 111 111 112 -[[image:1729754768467-631.png||height="523" width="1081"]] 113 -))) 97 +[[image:1741595724904-816.png]] 114 114 115 -((( 116 116 117 117 ))) 118 -))) 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" %)((( 125 -标签位置 101 +|(% colspan="1" rowspan="1" %)Color font size|(% colspan="1" rowspan="1" %)Support user-defined color and font size for label 102 +|(% colspan="1" rowspan="1" %)((( 103 +Label position 126 126 127 127 128 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 129 -支持3种模式:内部,外部,蜘蛛图 130 -))) 131 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 132 -标签内容 106 +)))|(% colspan="1" rowspan="1" %)Provide 3 modes: internal, external, spider diagram 107 +|(% colspan="1" rowspan="1" %)((( 108 +Label content 133 133 134 134 135 -)))|(% colspan="1" rowspan="1" style="width:1304px"%)(((136 - 是标题、百分比、值的各种排列组合,默认选择【标题,百分比】如下,用户也可以改成其他内容,例如“标题,值(百分比)”,如下图:111 +)))|(% colspan="1" rowspan="1" %)((( 112 +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: 137 137 138 -[[image:17 29756074259-175.png]]114 +[[image:1741595756674-393.png]] 139 139 140 140 141 141 ))) 142 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 143 -百分比小数位数 144 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 145 -设置上述标签内容中,百分比的小数位数,例如设置成显示3位小数,如下图: 118 +|(% colspan="1" rowspan="1" %)% decimals|(% colspan="1" rowspan="1" %)((( 119 +Set the decimal places for percentages in the above labels, for example, to display 3 decimal places, as shown in the following figure: 146 146 147 -[[image:17 29756197988-684.png]]121 +[[image:1741595788641-743.png]] 148 148 149 - 150 150 151 151 ))) 152 -|(% colspan="1" rowspan="3" style="width:107px"%)(((153 - 图例154 -)))|(% colspan="1" rowspan="1" style="width:150px"%)(((155 - 显示图例156 -)))|(% colspan="1" rowspan="1" style="width:1304px"%)(((157 - 默认开启,如下图:125 +|(% colspan="1" rowspan="3" %)((( 126 +Legend 127 +)))|(% colspan="1" rowspan="1" %)((( 128 +Show legend 129 +)))|(% colspan="1" rowspan="1" %)((( 130 +By default, it is turned on, and when turned off, the legend will not be displayed 158 158 159 -[[image:17 29756246566-930.png]]132 +[[image:1741595825268-360.png]] 160 160 ))) 161 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 162 -图例位置 163 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)((( 164 -图例默认出现在画布的左上角,同时支持用户设置图例在画布中的位置 165 - 166 - 167 - 134 +|(% colspan="1" rowspan="1" %)Legend position|(% colspan="1" rowspan="1" %)((( 135 +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 168 168 ))) 169 -|(% colspan="1" rowspan="1" style="width:150px" %)((( 170 -颜色字号 171 -)))|(% colspan="1" rowspan="1" style="width:1304px" %)支持用户根据需要自行调整图例的文字颜色和字体大小 137 +|(% colspan="1" rowspan="1" %)Color and font size|(% colspan="1" rowspan="1" %)Adjust the text color and font size of the legend
- 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 - 内容