Difference between revisions of "PieChart Command"

From GeoGebra Manual
Jump to: navigation, search
Line 8: Line 8:
 
:Creates a pie chart with a given center and radius using a list of frequencies. The whole pie gives 100%, the provided data is shown as pie slices.
 
:Creates a pie chart with a given center and radius using a list of frequencies. The whole pie gives 100%, the provided data is shown as pie slices.
 
:{{Example| <code>PieChart({20, 15, 40, 5, 10, 20},(3,3),5)</code> creates a pie chart with center (3,3) and radius 5.}}
 
:{{Example| <code>PieChart({20, 15, 40, 5, 10, 20},(3,3),5)</code> creates a pie chart with center (3,3) and radius 5.}}
 +
 +
:{{Note| The ''Color'' tab of the ''Properties'' dialog window of the pie chart offers a wide selection of colors to customize each slice of the pie chart, and the ''Style'' tab allows you to set the filling of each slice.}}

Revision as of 16:33, 31 March 2021


PieChart(< List of Frequencies >)
Creates a pie chart using a list of frequencies. The whole pie gives 100%, the provided data is shown as pie slices.
Example: PieChart({20, 15, 40, 5, 10, 20}) creates a pie chart with default center (0,0) and radius 3.


PieChart(< List of Frequencies >, < Center >, < Radius >)
Creates a pie chart with a given center and radius using a list of frequencies. The whole pie gives 100%, the provided data is shown as pie slices.
Example: PieChart({20, 15, 40, 5, 10, 20},(3,3),5) creates a pie chart with center (3,3) and radius 5.


Note: The Color tab of the Properties dialog window of the pie chart offers a wide selection of colors to customize each slice of the pie chart, and the Style tab allows you to set the filling of each slice.
© 2024 International GeoGebra Institute