CBCGPChartObject* CBCGPChartVisualObject::AddChartObject | ( | const CBCGPRect & | rcCoordinates, |
CBCGPChartObject::CoordinateMode | mode = CBCGPChartObject::CM_PIXELS , |
||
BOOL | bRelativeToDefaultAxes = TRUE |
||
) |
Adds a new Chart Object.
Call this method to add a new Chart Object at the specified coordinates with the specified Coordinate Mode.
mode can be one of the following enumerated values:
rcCoordinates | Chart Object coordinates. |
mode | Coordinate mode. |
bRelativeToDefaultAxes | TRUE - coordinates of the newly created object are calculated according to default (primary) axes; FALSE - SetRelatedAxes will be called later for the newly created object. |