SRGraphDisplay::DrawVectorData

void SRGraphDisplay::DrawVectorData(void)

This function draws all three types of Vector chart. Four data groups define a set of vectors. In each set, the data in the first and second groups are the x and y coordinates of the vector's anchor point. The data in the third group and fourth groups are Angle (in degrees from vertical, increasing clock-wise) and Magnitude of the vector for CX_GRAPH_VECTOR_C and CX_GRAPH_VECTOR_E chart types. For CX_GRAPH_VECTOR_G, the third and fourth groups are the x-offset and y-offset of the head relative to the tail. If the data doesn't satisfy these requirements, an exception will be thrown.
By default, the vector magnitude is assumed to have the same scaling (units) as the x and y coordinates.
For CX_GRAPH_VECTOR_C and CX_GRAPH_VECTOR_E, alternate scaling can be selected by setting SetUseMaxScale(TRUE) and specifying SetMaxObjectWidth(). GetMaxObjectWidth() determines the size of the largest bubble in screen pixels -- the size is adjusted for printing.
If GetObjectInsideView() == TRUE, the autoscaled axis limits will enclose all vectors. However, if GetUseMaxScale() == TRUE, the vector sizes can not be dependably taken into account. Therefore, some vectors may be clipped.
Logarithmic axes are not supported -- an exception is thrown in PrepareVector().

Defined in: SRGraphDisplay.cpp

Return Value

void