Multi Series Pie

    config setup

    1. const NUMBER_CFG = {count: DATA_COUNT, min: 0, max: 100};
    2. const labels = Utils.months({count: 7});
    3. const data = {
    4. labels: ['Overall Yay', 'Overall Nay', 'Group A Yay', 'Group A Nay', 'Group B Yay', 'Group B Nay', 'Group C Yay', 'Group C Nay'],
    5. datasets: [
    6. data: [21, 79]
    7. },
    8. {
    9. backgroundColor: ['hsl(0, 100%, 60%)', 'hsl(0, 100%, 35%)'],
    10. data: [33, 67]
    11. },
    12. data: [20, 80]
    13. },
    14. {
    15. backgroundColor: ['hsl(180, 100%, 60%)', 'hsl(180, 100%, 35%)'],
    16. data: [10, 90]
    17. }