I’m trying to figure out the best way to draw some plots and I don’t even know if I’m asking the correct question. So if I’m not please let me know if I’m not even on the right path.

I’m building a project that I want to be C++ with xaml as the visualization. I need to draw some line plots within that, and was hoping to use DirectX to draw the lines. I’ve been looking at this article from March 2013 – https://msdn.microsoft.com/en-us/magazine/jj991975.aspx – and haven’t been able to successfully get it to draw anything in the “MyDxImage” section yet. I’m almost entirely sure I want the SurfaceImage­Source since I want to be able to draw multiple plots on a single xaml screen. I’ve also watched this series – https://www.youtube.com/watch?v=p91FvlnyOyo&list=PLKK11Ligqitij8r6hd6tfqqesh3T_xWJA – and what he’s done with drawing is similar to what I want, not circles but lines, and not in a CreateWindowEx(). Then I’ve found that there’s a template for what I think I want in VS2012 – https://software.intel.com/sites/default/files/ball-in-hole05.png – that I cannot find to download.

So, side question is: is this even what I want to be doing?

I want the benefits of xaml and I want to be able to draw something in an (or multiple) image(s) within a .xaml, but I don’t know the proper way to get there. All of my programming up to this point has been data analysis and I don’t have a great grasp on the GUI/graphics part yet. Any help is greatly appreciated.