Home All Groups Group Topic Archive Search About

Looking for a line graph control.

Author
17 Apr 2006 12:43 PM
Sharon
(Frustratingly), after unsuccessfully trying to use a picturebox
control to paint a line graph based on serial communications with a
remote device, it seems picturebox controls just won't work for this
purpose.

I have read Bob Powell's helpful articles and he seems to concur that
the picturebox is the wrong tool for this.  I think I have seen or
read every article Google could find on the subject, and while there
were quite a few questions asked, there really didn't seem to be any
responses that I could make work, even though the coding examples were
quite similar to my approach.

So, has anyone here ever been able to draw a line graph on a Visual
Studio 2005 form? Would  anyone happen to know of a control
(preferably free), from which I could adapt the code to my
non-commercial application?

Could anyone point me towards a resource that might be able to discuss
how to do this with a realistic approach?    (Or is the graphics in
VS2K5 just not able to be used for this kind of application?)

Thanks for any help!

Sharon

Author
18 Apr 2006 2:07 AM
Ken Tucker [MVP]
Hi,

        Maybe you can use the free zed graph
http://www.codeproject.com/csharp/zedgraph.asp

Ken
-------------------
Show quoteHide quote
<Sharon> wrote in message news:kg2742p29kgilr4139kq232h6ioncgdfpu@4ax.com...
>
> (Frustratingly), after unsuccessfully trying to use a picturebox
> control to paint a line graph based on serial communications with a
> remote device, it seems picturebox controls just won't work for this
> purpose.
>
> I have read Bob Powell's helpful articles and he seems to concur that
> the picturebox is the wrong tool for this.  I think I have seen or
> read every article Google could find on the subject, and while there
> were quite a few questions asked, there really didn't seem to be any
> responses that I could make work, even though the coding examples were
> quite similar to my approach.
>
> So, has anyone here ever been able to draw a line graph on a Visual
> Studio 2005 form? Would  anyone happen to know of a control
> (preferably free), from which I could adapt the code to my
> non-commercial application?
>
> Could anyone point me towards a resource that might be able to discuss
> how to do this with a realistic approach?    (Or is the graphics in
> VS2K5 just not able to be used for this kind of application?)
>
> Thanks for any help!
>
> Sharon