wxChartRectangle

Description

This class is used to display a rectangle on a chart.

Methods

Public

wxChartRectangle

Constructs a element.

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.

const wxPoint2DDouble & GetPosition

Gets the position of the upper left corner of the rectangle.

void SetPosition

Sets the position of the rectangle.

void SetPosition

Sets the position of the rectangle.

wxDouble GetWidth

wxDouble GetHeight

void SetSize