DHTMLX Docs & Samples Explorer

value

A property of dataset that chart represents.

Value type: String, function

var chart =  new dhtmlXChart({
    value:"#years#",
    ...
})

or

chart.define("value","#years#");