Цитата(vanduongbk @ Apr 7 2011, 05:26)

not learnt this language
Time to learn it then

Borland C++ Builder uses the same set of VCL components as Delphi. I'd suggest to get Borland C++ Builder 6.0 and to have a look at the "chart" component example there.
Its pretty simple to draw graphics with it. Much simpler than in stupid vc.
All what you'd need to get done is to launch C++ Builder, find "Chart" component on the components toolbar in "Additional" section, put "Chart" component on the application form, setup needed parameters width/ height / color / font size etc, then periodically re-load actual values gotten from COM port into it in real time. It shall draw graphic and scale automatically.
If you'd find "Chart" is not what you're looking for (e.g. too slow or too smart

), you may refer to more stupid "Image" component example. In the "Image" you're allowed to draw graphic primitives(pixels, lines, circles etc) manually, like follows:
Image1->Canvas->pixels[x, y] = color;
note: referring directly to pixels[] array would work slower compared to drawing graphic with advanced func primitives - line(), rect(), arc() etc.
fest already showed how simple the program may be on Delphi. Same size program will be in C++ Builder just different lang.
btw, there is nothing complex in reading Delphi, below are several compliances b/w those langs, which would allow you to read fest's example:
Код
deplhi C
begin - {
end - }
:= - =
integer(x) - (int)x
var x,y : integer; - int x, y;
if condition then - if (condition)
operator1 operator1;
else else
operator2; operator2;
Form1.Image1 - Form1->Image1
not - !
or - ||
and - &&