Can you give us more information about your form, please, especially the ActiveX control you’re trying to use? It seems to be a sort of chart control…
Also, which version of Dynamics AX are you using? (Please attach a version tag, such “AX 2012”, when creating a new thread.)