PolarAreaChartPolar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.
export class PolarAreaChartDemo {
data: any;
constructor() {
this.data = {
datasets: [{
data: [
11,
16,
7,
3,
14
],
backgroundColor: [
"#FF6384",
"#4BC0C0",
"#FFCE56",
"#E7E9ED",
"#36A2EB"
],
label: 'My dataset'
}],
labels: [
"Red",
"Green",
"Yellow",
"Grey",
"Blue"
]
}
}
}
polarareachartdemo.html
<p-chart type="polarArea" [data]="data"></p-chart>