Drawing graphics with Visual C ++

I need to draw a scatter plot in an activex control that I am creating using Visual C ++. I looked at ZedGraph , but at first glance I can't use it as I don't have a frame.

I believe the drawing should be done using C ++ drawing contexts. Is there a Visual C ++ API that can pipe its output to a drawing context object?

+1


a source to share


1 answer


You can use ZedGraph in terminal mode. It's pretty simple, you just need to be mindful of scaling / resizing.



See an example here: http://zedgraph.org/wiki/index.php?title=Use_ZedGraph_to_generate_an_image_from_a_console_application

0


a source







All Articles