BCGSuite for MFC
virtual void CBCGPChartLegendVisualObject::OnDraw ( CBCGPGraphicsManager pGM,
const CBCGPRect rectClip,
DWORD  dwFlags = BCGP_DRAW_STATIC|BCGP_DRAW_DYNAMIC 
)
virtual

Called to draw a legend

Draws a legend. Can be overridden in a derived class for custom drawing. In general, you can override OnAfterLegendDraw() method, or process BCGM_ON_CHART_LEGEND_AFTER_DRAW to be notified when the drawing has completed.

Parameters
pGMa pointer to a graphics manager
rectClipclipping rectangle
dwFlagsspecifies whether the legend is drawn as static or dynamic object

Implements CBCGPBaseVisualObject.