SRGraphDisplay::PrepareDisplay

voidSRGraphDisplay::PrepareDisplay(void)

Prepares the display before data is drawn

Defined in: SRGraphDisplay.cpp

Developer Notes

Different graph types require different preparation. For example, a standard line graph needs only the Y scale to be calculated, whereas the XY scatter graphs will require X and Y scales. This routine calls the proper preparation routine for the graph type being handled. Note that an extension feature is available. To invoke this routine, you need only to specify a type that is not recognized by this function. Any number may be used for your own style, but we strongly recommend that you use only those above the reserved threshold. Normally styles are a two-character hexadecimal code. These codes therefore have 255 possible combinations (code 00 is always CX_{SOMESTYLE}_NONE). Values from 01 to BF are reserved. You may therefore safely use C0 to FF for your own purposes.