Reference for the Mosaic class Charts::PieChart
The class 'PieChart' implements a GUI component for displaying a complete pie chart diagram. The data for the single pie segments is defined within a RecordList.
property float Displacement = 0.0;
The property 'Displacement' contains the displacement of each segments from the center point of the pie chart. The direction of the displacement is given by the vector from center point of the pie chart to the centroid of the segment.
property float PieAngle = 270.0;
The property 'PieAngle' contains the total angle of the pie chart between 0° and 360°.
property Charts::RecordList Records = null;
The property 'Records' stores the list of data sets (records) that describe the values and colors of each pie segment.
property float Scaling = 1.0;
The property 'Scaling' contains the scaling factor between 0.01 and 1.1.
The property 'SegmentImage' contains the bitmap resource, that is used to create the segment. The image has to contain the top left quarter of a circular object.
property float StartAngle = 0.0;
The property 'StartAngle' contains the starting angle of the pie chart. 0° is on top (north), 90° is on the right side (east), 180° is bottom (south) and 270° is on the left side (west).