Set image inside doughnut chart


#1

hi guys,
i have a question,
i have created a doughnut chart (ionic 2)
is this possible to set a image inside doughnut chart?
Capture
is this possible?
here is my code:

this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {

          type: 'doughnut',
          data: {
            labels: ["Absent", "Present"],
            datasets: [{
              data: [this.a, this.p],
              backgroundColor: [
                'rgba(255, 99, 132, 0.2)',
                'rgba(50, 219, 100, 0.2)'
              ],
              hoverBackgroundColor: [
                "#FF6384",
                "#32DB64", ,
              ]
            }]
          }

        });

#2

that could help you: https://stackoverflow.com/questions/33021559/image-inside-donut-chart-amcharts
its another library, but seting it as backgground should work with chart.js, too I think.