Issue with Dataview and Chart - order of js files

Hello,

I’m having some strange issues. If I attach the dhtmlxchart.js before I attach dhtmlxdataview.js, I get the following error when loading the chart (the dataview works fine):

However, when I attach the dhtmlxdataview.js before I attach dhtmlxchart.js, the chart works fine, but this time the dataview doesn’t and gives this error:

I should also mention that the chart is being attached the dhtmlxwindow and the dataview is being attached to dhtmlxlayout. I am using lots of other components also.

I appreciate any help you can offer.

Sorry - I just saw this thread:
viewtopic.php?f=8&t=15670&p=47615&hilit=chart+dataview#p47615

I will test out that core file. I should have searched better before posting this.

Thanks as always!