BCGControlBar Pro for MFC
CBCGPChartLineObject::CBCGPChartLineObject ( CBCGPChartVisualObject *  pParentChart,
double  dblX1,
double  dblY1,
double  dblX2,
double  dblY2,
const CBCGPBrush &  brLine = CBCGPBrush(),
double  dblLineWidth = 1.,
CBCGPStrokeStyle *  pStrokeStyle = NULL 
)

Constructs the object.

The constructor.

Parameters
pParentChartA pointer to a parent chart.
dblX1Specifies X1 coordinate of line (in chart coordinates).
dblY1Specifies Y1 coordinate of line (in chart coordinates).
dblX2Specifies X2 coordinate of line (in chart coordinates).
dblY2Specifies Y2 coordinate of line (in chart coordinates).
brLineLine color.
dblLineWidthLine width.
pStrokeStyleStroke style.