SRGraph::GetGroupAverage

double SRGraph::GetGroupAverage(int group)

Takes the average of all data items within a specific group

Defined in: SRGraph.cpp

Return Value

Sum of all data items divided by the value returned by GetMaxXDivisions

Parameters

group

Zero-based index of the desired group

Remarks

Used to increase readability of isographic bar and area charts. The data sets with the larger averages are displayed near the back of the chart and those with smaller averages are moved to the front. This tries to prevent a particular data set from hiding another.