Chartjs-Bar Chart With 2 Different Attribute Of The Same Variable [Chart.Js]

0👍

you can try to push in feedback an object, for example :

    var bar_chart_obj_1 = {data: data1[i].$feedbackrowcount, label: "data1", id: 0};
feedback.push(bar_chart_obj_1);
    var bar_chart_obj_2 = {data: $data2[i].$complainrowcount, label: "data2", id: 1};
feedback.push(bar_chart_obj_2);

Leave a comment