Object #<object> has no method 'oa'

I am creating a dashboard screen which has new grpah,open graph and save graph buttons when new graph button gets click it creates dataview and loads some sample images into that dataview (thr xml : chartData.xml) and when I select save graph it loads a temporary graph (currently hardcoaded).
When I click on save graph code works perfectly fine. but when I click on New Graph it throws error as “Object # has no method ‘oa’”.

Thanks in advance for your help.

createDashboard.zip (1.84 KB)

Just saw another post with the similar issue.

problem solved.

Thanks :slight_smile: