SRGraph::SetGlobalStyle

void SRGraph::SetGlobalStyle(int nStartGroup, int nEndGroup, int nStartIndex, int nEndIndex, SRGraphStyle * ptrStyle, BOOL bSetHeaders)

Sets the style of a specified range of data items

Defined in: SRGraph.cpp

Parameters

nStartGroup

First group

nEndGroup

Last group

nStartIndex

First index

nEndIndex

Last index

ptrStyle

Pointer to the pattern style

bSetHeaders

TRUE if the styles in the data lists are to be set too (default=FALSE)

Remarks

Any block of data items or group headers may be set to a particular style using this function. You must create and set a style and pass a pointer to this routine along with the range of the desired block of data items which are to be updated. Any range limit set to -1 will be replaced by a sensible value. This substitutuion will be 0 in the case of -1 in nStartGroup or nStartIndex. A -1 specified for a last limit will be changed to the last available group or index.
If the bSetHeaders flag is TRUE, then the style for the selected range of groups will also be updated.