Here i have a Pie Graph, which is drawn with `chart.js`. And its working fine. But the problem is the, it renders same color in multiple data sets, which is looking so awkward and confusing.

**Here is a snap for that pie chart**

[![enter image description here](https://i.stack.imgur.com/Ds7TP.png)](https://i.stack.imgur.com/Ds7TP.png)

**Here is my AJAX code**

```
$.ajax({
    url: "<?php echo base_url('Analytics/AdminAnalyticsCat');?>",
    method: "GET",
    success: function (data) {
            alert(data);
        console.log(data);
        var data = JSON.parse(data);
        var month = [];
        var customers = [];

        for (var i in data) {
            month.push("Customers in " + data[i].cat_name);
            customers.push(data[i].counter);
        }
var ctx = document.getElementById("canvasDoughnut").getContext('2d');
var myChart = new Chart(ctx, {
    type: 'pie',
    data: {
        labels: month,
        datasets: [{

            data: customers,
            lineTension: 0,
            fill: false
        }]

    },
    options: {
        legend: {
            display: false
        }
    }
});
    }
});

```

I tries so many times for setup their different colors, but its not working.
So Please guide me, where i am going wrong? Thanks..