CBCGPChartLineObject* CBCGPChartVisualObject::AddChartLineObject | ( | double | dblVal, |
BOOL | bHorz = TRUE , |
||
const CBCGPBrush & | brLine = CBCGPBrush() , |
||
double | dblWidth = 1. , |
||
CBCGPStrokeStyle * | pStrokeStyle = NULL |
||
) |
Adds a new Line Chart Object to a diagram.
Use this helper to add a new Line Chart Object to a diagram.
dblVal | X value of vertical line (in X axis coordinates), or Y value of horizontal line (in Y axis coordinates). |
bHorz | TRUE - add a horizontal line, FALSE - add a vertical line. |
brLine | Line color. |
dblWidth | Line width. |
pStrokeStyle | Line stroke style. |