1. Graphic datawindow data source (data) settings. Set category to a data Category field and value to a data value field. The series parameter is left blank without any information.
2. Graphic datawindow display information (text) settings. Set legend to the data category name and pie grahp lables to the data proportion information.
Practical example: statistical information on equipment defects of a power plant. The Data Category field is special_code. The data values include turbine, boiler, electrician, thermal engineering, chemistry, and flue gas. The data value field is special_num.
3. Set the display expression of legend: Case (category when '01 'then' turbine 'when' 02 'then' boiler 'when' 03 'then' electric 'when' 04 'then' thermal 'when' 05 'then 'chemistry 'when' 06 'then' flue gas 'else' undefined ').To control the display information on the left.
4. Set the percentage information displayed in the pie chart by pie graph labels. Set display expression:If (seriescount> 1, Series, string (percentofseries, "0.00%") +Case (category when '01 'then' turbine 'when' 02 'then' boiler 'when' 03 'then' electric 'when' 04 'then' thermal 'when' 05 'then 'chemistry 'when' 06 'then' flue gas 'else' undefined ')) . WhereIf (seriescount> 1, Series, string (percentofseries, "0.00% ")Default Information.If (seriescount> 1, Series, string (percentofseries, "0.00% ") + case (category when '01 'then' turbine 'when' 02 'then' boiler 'when' 03 'then' electric 'when' 04 'then' thermal 'when' 05' then 'chemistry 'when' 06 'then' flue gas 'else' undefined '))For instructions, it is manually added. The basic settings of the pie chart are complete.