#include <ChartPointsSerie.h>
Public Types | |
enum | PointType { ptEllipse = 0, ptRectangle = 1, ptTriangle = 2 } |
The different point shapes. | |
Public Member Functions | |
void | SetPointSize (int XSize, int YSize) |
Sets the width and height of each points. | |
void | GetPointSize (int &XSize, int &YSize) const |
Retrieves the width and height of each points. | |
void | SetPointType (PointType Type) |
Sets the points shape. | |
PointType | GetPointType () const |
Returns the points shape. | |
void | SetBorderColor (COLORREF Color) |
Sets the border color of the points. | |
COLORREF | GetBorderColor () |
Returns the border color of the points. | |
CChartPointsSerie (CChartCtrl *pParent) | |
Constructor. | |
virtual | ~CChartPointsSerie () |
Destructor. | |
bool | IsPointOnSerie (const CPoint &screenPoint, unsigned &uIndex) const |
Check whether a screen point is on the series. |
The data points are simply displayed as independant points.
bool CChartPointsSerie::IsPointOnSerie | ( | const CPoint & | screenPoint, | |
unsigned & | uIndex | |||
) | const [virtual] |
Check whether a screen point is on the series.
screenPoint | The screen point to test | |
uIndex | If the point is close to a specific point of the series, its index is stored here. |
Implements CChartSerie.