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...") |
|||
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.}} |
Revision as of 12:40, 17 December 2020
- 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.