CBCGPChartRangeObject* CBCGPChartVisualObject::AddChartRangeObject | ( | double | dblBottomVal, |
double | dblTopVal, | ||
BOOL | bHorz, | ||
const CBCGPBrush & | brFill | ||
) |
Adds a new Range Chart Object.
Call this helper to add a Range Chart Object to a diagram.
You can format the returned range (set outline style etc) later.
dblBottomVal | Specifies lower range value in X (for vertical range) or Y (for horizontal range) axis coordinates. |
dblTopVal | Specifies upper range value in X (for vertical range) or Y (for horizontal range) axis coordinates. |
bHorz | TRUE - add a horizontal range; FALSE - add a vertical range. |
brFill | Range fill color. |