views:

521

answers:

1

Hi, I need to draw a scatter plot into an activex control I'm building using Visual C++. I have looked at ZedGraph but, at first glance, I can't use it as I don't have a frame.

I believe the drawing must be done using the c++ drawing contexts. Is there any Visual C++ API which is able to direct its output to a drawing context object?

A: 

You can use ZedGraph in terminal-like mode. It's quite easy, you just need to remember about scaling/resizing.

See the example here: http://zedgraph.org/wiki/index.php?title=Use%5FZedGraph%5Fto%5Fgenerate%5Fan%5Fimage%5Ffrom%5Fa%5Fconsole%5Fapplication

Gacek