SRGDataWatcher::Draw

voidSRGDataWatcher::Draw(CDC *pDC, CWnd *pCWnd)

The Draw function, invoked by the DrawComponentList, scans the data scope applying to the current criteria and performing one of two actions. Either DataInRange() or DataExcursion() is called depending on the result of the test.

Defined in: SRGDataWatcher.cpp

Return Value

void

Parameters

pDC

Pointer to the device context to use

pCWnd

Pointer to the CWnd to draw into

Remarks

When this data watcher is used as a subcomponent of a compound component, it may also draw a line or lines indicating the data limits.

Currently the data watcher does not draw lines on displays with logarithmic axes correctly.