This._obj is null || Can't read property 'className' of null

i have an error when try to use scatter legend dhtmlxchart
error occured in dhtmlxchart.js

chrome said :
Uncaught TypeError: Cannot read property ‘className’ of null dhtmlxchart.js:151
dhtmlx.Settings._parseContainer dhtmlxchart.js:151
dhtmlXChart dhtmlxchart.js:163

firefox said :
TypeError: this._obj is null dhtmlxchart.js:151

151 in dhtmlxchart.js is
this._mergeSettings(a[c]||{},b[c]);break;case “undefined”:a[c]=b[c]}return a},_parseContainer:function(a,b,c){if(typeof a==“object”&&!a.tagName)a=a.container;this._obj=this.$view=dhtmlx.toNode(a);if(!this._obj&&c)this._obj=c(a);this._obj.className+=" "+b;this._obj.onselectstart=function(){return!1};this._dataobj=this._obj},_set_type:function(a){if(typeof a==“object”)return this.type_setter(a);this.type=dhtmlx.extend({},this.types[a]);this.customize()},customize:function(a){a&&dhtmlx.extend(this.type,

can help me ? please …

Hello
We need completed demo to inspect it.
docs.dhtmlx.com/doku.php?id=othe … leted_demo
Or you can provide us a direct link.