0👍
colors
must be defined as an array
of interface
Color
according to the following code snippet:
import { Color } from 'ng2-charts';
...
public doughnutChartColor: Color[] = [
{ backgroundColor: 'green' },
{ backgroundColor: 'red' },
{ backgroundColor: 'blue' }
];
Source:stackexchange.com