wxChartArc
Description
This class is used to draw one of the segments of a circular chart e.g. a pie chart or a doughnut chart.
Methods
Public
wxChartArc |
Constructs a element. The arc is defined by the coordinates of its centre (x, y), its inner radius and its outer radius. The arc goes from the starting angle startAngle to endAngle clockwise. The angles are measured in radians but, contrary to the usual mathematical convention, are always clockwise from the horizontal axis. |
void Draw |
Draws the element. |
bool HitTest |
Elements can be activated with the mouse. This function checks whether the mouse is in the activation zone for this element. |
wxPoint2DDouble GetTooltipPosition |
Gets the position of the tooltip. |
void SetCenter |
Sets the center of the arc. |
void SetAngles |
Sets the start and end angles. The angles are measured in radians, they start from the 3 o'clock position and follow a clockwise direction. |
void SetRadiuses |
Sets the inner and outer radiuses. |
[object Object] GetOptions |
Gets the arc options. |