Graph on Forms (AX 2012)

This question is answered

Hi All,

 

I have  Active X Control with properties : Chart Object on the form in AX 2009 which gives a bar graph

May I know which property we need to use for ActiveX for AX 2012 to achieve the bar graph..

 

I have tried all in ActiveX Browser...

 

 

Please let me know the solution.

 

 

 

Regards,

Pavani

Verified Answer
  • That's just about parameters. If you change graphics.parmCreateType(#CT_LEGEND | #CT_3D) to graphics.parmCreateType(#CT_LEGEND) in updateGraph() method, you'll get a 2D graph.

    It's internally based on System.Windows.Forms.DataVisualization.Charting.Chart type.

All Replies
  • have a look at Tutorial_Form_Graph form,  in AOT.

  • Hi pradeep,

    The tutorial form graph which you are referring is 3D graph view.. I need simple bar graph on a form without the 3D view...

    Thanks

    Pavani

  • That's just about parameters. If you change graphics.parmCreateType(#CT_LEGEND | #CT_3D) to graphics.parmCreateType(#CT_LEGEND) in updateGraph() method, you'll get a 2D graph.

    It's internally based on System.Windows.Forms.DataVisualization.Charting.Chart type.

  • thanks Martin