SRGScatterGraph::DrawScatterData
voidSRGScatterGraph::DrawScatterData(void)
Draws scatter data in one of three formats
Defined in: SRGScatterGraph.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 alternately. 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...
X0 X0 X0 X0 X0 X0
Y0 Y0 Y0 Y0 Y0 Y0
X1 X1 X1 X1 X1 X1
Y1 Y1 Y1 Y1 Y1 Y1
Finally the CX_GRAPH_XYSCATTERI or CX_GRAPH_XYSCATTERI_EX treats the even indices as X and odd indices as Y...
X0 Y0 X1 Y1
X0 Y0 X1 Y1
X0 Y0 X1 Y1
X0 Y0 X1 Y1
X0 Y0 X1 Y1
X0 Y0 X1 Y1