score:0

Accepted answer

i found the solution. i have to specify the colors outside of the datasets like the following:

this.realtimeusage.colors = [
  {
    backgroundcolor: ["rgba(255, 165, 0, 1)"]
  },
  {
    backgroundcolor: ["rgba(171, 219, 0, 1)"]
  },
  {
    backgroundcolor: ["rgba(253, 216, 53, 1)"]
  }
];

Related Query

More Query from same tag