DHTMLX Docs & Samples Explorer

view

The chart type.

Value type: String

Available values for Bar Chart are: “bar”, “barH”, “stackedBar” and “stackedBarH”

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

or

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