I have an MFC application to draw graph using DirectX. Now I have to add the feature to draw the area graph in DirectX.
Now my application draws like this..
I want to include the feature to my graph to look like this..
here I have to fill the graph area with some color.
I have tried DrawPrimitive(). but this could be used to draw the Triangle, rectangle. but in my application I would like to draw graph with random data points.
Is it possible to achieve in DirectX..?
Kindly someone provide your suggestions.