c++ - Drawing area graph in directX -


i have mfc application draw graph using directx. have add feature draw area graph in directx.

now application draws this..

enter image description here

i want include feature graph this..

enter image description here

here have fill graph area color.

i have tried drawprimitive(). used draw triangle, rectangle. in application draw graph random data points.

is possible achieve in directx..?

kindly provide suggestions.

if u need 2d graph's alone direct2d great option,but if insist on going 3d greater animation , illustrative purposes can uses opengl.there plenty of custom controls graph illustration purposes based on opengl.

for eg: http://www.codeproject.com/articles/4346/d-graph-activex-control

opengl has greater flexibility , can serve needs better since of open source.

hope helps , luck


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -