CBCGPChartObject* CBCGPChartVisualObject::AddChartObject | ( | const CBCGPPoint & | ptLeftTopOffset, |
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:
ptLeftTopOffset | Left-top corner of an object. |
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. |