label

You may define labels for objects which will be represent on the chart. Line, bar and area charts show labels above elements, pie charts – outside sectors.

Labels are defined by templates:

var chart =  new dhx.ui({
        view:"chart",
        ...
        label:"#sales#"
        ...
})

Pie chart allows to define labels inside its sectors as well - pieInnerText parameter:

var chart =  new dhx.ui({
	view:"chart",
        ...
        label:"#year#",
	pieInnerText:function(obj){
		var sum = chart.sum("#sales#");
		return Math.round(obj.sales/sum*100) +"%"
	}
        ...
});