| CBCGPChartAxisMarkObject::CBCGPChartAxisMarkObject | ( | CBCGPChartVisualObject * | pParentChart, |
| double | dblVal, | ||
| const CString & | strText, | ||
| BOOL | bVertAxis, | ||
| BOOL | bOutside, | ||
| const CBCGPBrush & | brTextColor, | ||
| const CBCGPBrush & | brFill = CBCGPBrush(), |
||
| const CBCGPBrush & | brOutline = CBCGPBrush() |
||
| ) |
The constructor.
Constructs an axis mark object. Note, the constructor does not add the object to the parent chart. You always need to call CBCGPChartVisualObject::AddChartObject.
If you don't specify fill, outline and text colors, the colors are taken from the first series of the current visual theme.
| pParentChart | A pointer to a parent chart. |
| dblVal | Specifies a related axis value to place the axis mark at. |
| strText | Specifies the axis mark text. |
| bVertAxis | Specifies whether to place the axis mark at the vertical or horizontal axis. |
| bOutside | Specifies whether the axis mark should be placed outside (TRUE) of the axis, or inside. |
| brTextColor | Specifies text color. |
| brFill | Specifies fill color. |
| brOutline | Specifies outline color. |