BCGSuite for MFC
void CBCGPChartLegendVisualObject::SetVerticalAlignment ( LegendAlignment  vertAlign,
BOOL  bRedraw = TRUE 
)

Sets vertical alignment of advanced legend

vertAlign can be one of the following enumerated values:

  • LA_NEAR - legend at the top
  • LA_CENTER - legend is centered
  • LA_FAR - legend at the bottom

If an advanced legend is located within large rectangle (m_rect is larger than legend size), it can position itself within that rectangle according to vertical and horizontal options specified by SetVerticalAlignment and SetHorizontalAlignment().

Parameters
vertAlignspecifies the alignment
bRedrawspecifies whether a legend should be redrawn