DHTMLX Docs & Samples Explorer

container

The id of an html container where you want to display the chart.

Value type: String

<div id="chart_container" style="width:400px;height:200px;border:1px solid #A4BED4;"></div>
 
<script>
        var chart =  new dhtmlXChart({
	     container: "chart_container",
             ...        
        })
</script>