| void CBCGPChartVisualObject::SetLegendPosition | ( | BCGPChartLayout::LegendPosition | position = BCGPChartLayout::LP_RIGHT, |
| BOOL | bLegendOverlapsChart = FALSE, |
||
| BOOL | bRedraw = FALSE |
||
| ) |
Sets legend position or hides it.
Call this method to set legend position. position can be one of the following enumerated values:
Set bLegendOverlapsChart to TRUE to save the diagram space.
| position | Specifies the legend position. |
| bLegendOverlapsChart | Specifies whether the legend overlaps diagram area, or not. |
| bRedraw | TRUE - redraw the Chart immediately. |