Skip to content

datasets.data object using #937

@harunozer

Description

@harunozer

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;
    }
}];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions