On line guide/help

You are on page 25 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.

Index Prev. Next

Piechart

Draw a pie / ring chart

A pie chart, or pie graph, is a circular statistical graphic that's divided into slices to illustrate numerical proportion. In a pie chart, the arc length of each slice (and consequently its central angle and area) is proportional to the quantity it represents. A ring chart, also known as a donut chart, is essentially a pie chart with a hole in the center. This hole makes the chart look like a donut, hence the name.


Parameters

Elements / attributes of the <piechat> element:

Coordinate parameters (required) that define the print area of ​​the pie chart
<x1> Starting X coordinate (upper/left corner)
<y1> Starting Y coordinate (upper/left corner)
<x2> Ending X coordinate (bottom/right corner)
<y2> Ending Y coordinate (bottom/right corner)

Parameters that define the appearance of the graph:
<border> Show or hide border. Possibile values:
0 Disable (hide) border
1 Enabled (show) border
1111 Enabled (shows) the border for each side of the frame area (left, top, right, bottom). You can show/hide each side of the border individually.
<radius> Graph radius (0 : auto, the radius will be calculated so that the graphic fills the print area while maintaining the proportions of a circle)
<style> Graph stype. Possible values:
CLASSIC or DEFAULT : Pie chart style
RING or DONUTS : Ring chart style
<legend> Optional chart legend (if defined)