BCGSuite for MFC
BCGPChartCellParams

Detailed Description

The BCGPChartCellParams structure contains visual parameters of individual legend cells. When the legend updates its content, it obtains key and label visual and text properties from related charts and copies them to "cell parameters" structure.

Then it calls CBCGPChartLegendVisualObject::OnLegendContentCreated method and sends BCGM_ON_CHART_LEGEND_CONTENT_CREATED to owner.

You can either override this method or process this message to customize look of individual cells by modifying the structure, which is encapsulated in CBCGPChartLegendCell.

Public Member Functions

 DetachFromGMDetaches underlined resources from a graphics manager
 
 GetContentPaddingReturns current content padding
 
 SetContentPaddingSets content padding for individual legend cell
 

Public Attributes

 m_brContentFillSpecifies fill color of legend cell
 
 m_brFillSpecifies series fill color, which is used to draw a legend key (copied from related chart and series or data point, displayed in the key cell)
 
 m_brMarkerFillSpecifies marker fill color (copied from related chart and series or data point, displayed in the key cell)
 
 m_brTextColorSpecifies legend label cell color
 
 m_lineStyleSpecifies series line color, which is used to draw a legend key (copied from related chart and series or data point, displayed in the key cell)
 
 m_markerLineStyleSpecifies marker outline style (copied from related chart and series or data point, displayed in the key cell)
 
 m_markerOptionsSpecifies marker shape, size and visibility (copied from related chart and series or data point, displayed in the key cell)
 
 m_textFormatSpecifies text format of legend label