BCGControlBar Pro for MFC
CBCGPChartVisualObject* CBCGPChartLegendVisualObject::GetRelatedChart ( int  nIndex) const

Returns a chart connected to a legend

Call this method to obtain a pointer to a chart located at the specified index.

Parameters
nIndexspecifies a zero based index in the list of related charts