Difference between revisions of "PieChart Command"
From GeoGebra Manual
(Created page with "<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}} ;PieChart(< List of Frequencies >) :Creates a pie chart using a list of frequencies. The whole pie gives...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}} | ||
;PieChart(< List of Frequencies >) | ;PieChart(< List of Frequencies >) | ||
− | :Creates a pie chart using a list of frequencies. The whole pie gives 100%, the provided data | + | :Creates a pie chart 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})</code> creates a pie chart with default center (0,0) and radius 3.}} | :{{Example|<code>PieChart({20, 15, 40, 5, 10, 20})</code> creates a pie chart with default center (0,0) and radius 3.}} | ||
;PieChart(< List of Frequencies >, < Center >, < Radius >) | ;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 | + | :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| Select the ''Color'' tab of the ''Properties'' dialog window of the pie chart to choose among a wide selection of colors to customize each slice, and the ''Style'' tab to set the filling of each slice.}} |
Latest revision as of 16:35, 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: Select the Color tab of the Properties dialog window of the pie chart to choose among a wide selection of colors to customize each slice, and the Style tab to set the filling of each slice.