BOOL CBCGPChartLegendVisualObject::InsertRelatedChart | ( | CBCGPChartVisualObject * | pChart, |
CBCGPChartVisualObject * | pChartInsertAt, | ||
BOOL | bInsertBefore, | ||
BOOL | bRedraw = TRUE |
||
) |
Connects a legend with a chart. The chart will be inseretd before or after specified chart.
pChart | a pointer to a chart whose series and data points should be displayed in legend |
pChartInsertAt | a pointer to a chart which already connected to the legend. |
bInsertBefore | Specifies whether chart should be inserted before or after specified chart. |
bRedraw | specifies whether a legend should be redrawn |