BCGSuite for MFC
CBCGPChartLineObject* CBCGPChartVisualObject::AddChartLineObject ( double  dblX1,
double  dblY1,
double  dblX2,
double  dblY2,
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
dblX1X1 coordinate of the line (in X axis coordinates).
dblY1Y1 coordinate of the line (in Y axis coordinates).
dblX2X2 coordinate of the line (in X axis coordinates).
dblY2Y2 coordinate of the line (in Y axis coordinates).
brLineLine color.
dblWidthLine width.
pStrokeStyleLine stroke style.