DHTMLX Docs & Samples Explorer

value

A data property that chart represents.

Value type: String, function

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

or

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