hi guys,
i have a question,
i have created a doughnut chart (ionic 2)
is this possible to set a image inside doughnut chart?
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", ,
]
}]
}
});