Chart error this._obj not defined?

Hi guys thanx in advance , i m new to Dhtmlx library . I m using chart component.
I followed the steps given in tutorial Pie Chart DHTMLX Docs

The file included in head section are

AJAX Application After follwing steps in tutorial m getting script error "this._obj" not defined in http://localhost/dhtmlx/dhtmlxChart/codebase/dhtmlxchart.js on line 119

Please help??


such a problem may occur if you do not define “container” property - a div where where you want to create Chart.

If the problem is not solved, please attach the demo.

Thanx for your kind response. The code for pie chart is as follows


AJAX Application html, body { width: 100%; height: 100%; overflow: hidden; margin: 0px; background-color: #EBEBEB; }
[/code] my container object id is "chart_container". still m not getting chart. Your quick responce is most welcome!!!

The container id is " chart_container" (with a whitespace in the begging). In the chart configuration you are using “chart_container” (without a whitespace).