SRGraphDisplay::DrawScatterData

void SRGraphDisplay::DrawScatterData(void)

Draws scatter data in one of three formats

Defined in: SRGraphDisplay.cpp

Remarks

The formats are...
CX_GRAPH_XYSCATTERA or CX_GRAPH_XYSCATTERA_EX. These formats require an even number of data items, and the X,Y data is taken from them alternateley. The first one will be the X data the second the Y and so on. If the number of indices in a group is uneven, the graph will treat the first entry on each alternate line as Y data, but it will always stick to x,y,x,y format. For example, a graph data structure may resemble...
X Y X Y X Y X
Y X Y X Y X Y
X Y X Y X Y X
Y X Y X Y X Y

CX_GRAPH_XYSCATTERG or CX_GRAPH_XYSCATTERG_EX treats even groups as X data, and odd groups as Y data so the structure may look like...
X X X X X X
Y Y Y Y Y Y
X X X X X X
Y Y Y Y Y Y

Finally the CX_GRAPH_XYSCATTERI or CX_GRAPH_XYSCATTERI_EX treats the even indices as Y and odd indices as Y...
X Y X Y
X Y X Y
X Y X Y
X Y X Y
X Y X Y
X Y X Y