Constructor is used to create an object and set its initial parameters.
var myChart = new dhtmlChart(obj);
var myChart = new dhtmlChart({
view:"bar",
container:"chart_container",
value:"#sales#"
});
The code snippet shows how to create a dhtmlXChart object.
Back to top