DHTMLX Docs & Samples Explorer

view

The chart type.

Value type: String

Available values for Pie Chart are: “pie” and “pie3D”.

var chart =  new dhtmlXChart({
    view:"pie",
    ...
})

or

chart.define("view","pie");