SRGDisplayBase::DrawForeground

void SRGDisplayBase::DrawForeground(void)

Called by the Draw function to display the graph data

Defined in: SRGDisplayBase.cpp

Developer Notes

The foreground begins by covering the whole of the components internal rectangle. This rectangle is shrunk a little to keep it away from the borders if they exist and then reduced in size automatically by the axis and label drawing function. The area left over is available for data display. The various line, pie, and bar routines make sensible scales from the resultant size of the m_DisplayRect member.