SRGraphLegend::DrawForeground

void SRGraphLegend::DrawForeground(void)

Draws the foreground of this component -- called by the base class (SRGraphComponent::Draw) function
Note that the legend will copy the m_nMinIndex, m_nMaxIndex, m_nMinGroup, and m_nMaxGroup variables of any SRGraphDisplay-based object which immediately preceeds it in the parent graph's component list.

Defined in: SRGraphLegend.cpp

Developer Notes

Because legends may change in size, this component will resize itself to accommodate the text to be displayed.