-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
HI.
You may need to define the data object variable to represent multiple values in a single line.
datasets: [{
....
data:[
{'entry':50, 'Jhon':25, 'Maria':15, 'Bill':10}
,{'entry':60, 'Jhon':30, 'Maria':10, 'Bill':20}
,{'entry':45, 'Jhon':20, 'Maria':20, 'Bill':5}
]
,dataValueTemplate : function(data){return data.entry;}
,customTooltips : function(data){
return 'Total Entry: ' + item.entry + '<br/>Jhon: ' + item.Jhon + '<br/>Maria: ' + item.Maria + '<br/>Bill: ' + item.Bill;
}
}];