BCGSuite for MFC
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.

Parameters
dblValX value of vertical line (in X axis coordinates), or Y value of horizontal line (in Y axis coordinates).
bHorzTRUE - add a horizontal line, FALSE - add a vertical line.
brLineLine color.
dblWidthLine width.
pStrokeStyleLine stroke style.