Reference for the Mosaic class Charts::PieChart

Charts::PieChart
Displacement
PieAngle
Records
Scaling
SegmentImage
StartAngle
Core::Group
AlphaBlended
Buffered
Embedded
Enabled
Focus
Opacity
Visible
Add()
AddBehind()
BroadcastEvent()
BroadcastEventAtPosition()
CountDialogs()
CountViews()
DismissDialog()
DispatchEvent()
FadeGroup()
FindActiveDialogByClass()
FindCurrentDialog()
FindDialogByClass()
FindNextView()
FindPrevView()
FindSiblingView()
FindViewAtPosition()
FindViewInDirection()
FindViewWithinArea()
GetContentArea()
GetDialogAtIndex()
GetIndexOfDialog()
GetIndexOfView()
GetViewAtIndex()
GlobalPosition()
HasViewState()
Init()
InvalidateArea()
InvalidateViewState()
IsActiveDialog()
IsCurrentDialog()
IsDialog()
LocalPosition()
ObtainFocus()
PresentDialog()
Remove()
RemoveAll()
Restack()
RestackBack()
RestackBehind()
RestackTop()
SwitchToDialog()
UpdateLayout()
UpdateViewState()
Core::RectView
Bounds
Core::View
Layout
Owner
StackingPriority
ArrangeView()
ChangeViewState()
CursorHitTest()
Draw()
GetExtent()
GetRoot()
HandleEvent()
MoveView()

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.

property Resources::Bitmap SegmentImage = Charts::Pie100_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).