I have to develop a trend graph in VC++ using MFC or it could be ATL also.
The graph looks like the followling:-
Can some one provide some help or link related to this??
Thanks a lots in advance.....
Hey u can do it in OnDraw(CDC* pDC) function (which comes by default if the class is inherited from CView)
i have a sample code here..
GRDSCDAPPDoc* pDoc = (GRDSCDAPPDoc*)GetDocument ();
// TODO: add draw code here
int iW = ocWinRect.Width (),
iH = ocWinRect.Height ();
m_iWidth = iW;
m_iHeight = iH;
ocRect.bottom = 0; ocRect.left = 0;
ocRect.top = iH; ocRect.right = iW;
CBrush ocBrush (RGB (0, 0, 0));
pDC->FillRect (&ocRect, &ocBrush);
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)