Error while loading data into pie3D chart

Hi,

following the documentation I’m trying to load data into a pie3D chart in this way:

		var chartConfig = { view: "pie3D",
							container: "chart",
							value: "#sales#",
							color: "#color#",
							label: "#month#",
							tooltip: "#sales#"
						};
		var charSubUser = cellAccountSummary.attachChart(chartConfig);	
		
		var month_dataset=
			[{sales:"3",month:"Usati",color:"#ee3639"},
			{sales:"5",month:"Liberi",color:"#ee9e36"}];
		charSubUser.parse(month_dataset, "json");

but I’m getting this error:

TypeError: dhtmlx.ui.Map is not a constructor
localhost/baango/dhtmlx/dhtmlx.js
Line 332

this are my inclusions:

<!-- general -->
<script src="dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/dhtmlxgrid_export.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/dhtmlxform_item_upload.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/ext/swfobject.js"></script>
<script src="dhtmlx/dhtmlxlayout_pattern4j.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
<!-- chart -->
<script src="dhtmlx/dhtmlxchar.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="dhtmlx/dhtmlxchart.css" type="text/css" charset="utf-8">

I already tried to but chart js file inclusions before the dhtmlx.js one, but without any success.

What I’m doing wrong?

Thanks in advance,
Samuel

Reading deeply the inclusions I noticed a typo into the dhtmlxchart.js name…
I missed a t!

That solved the problem :slight_smile:

Samuel