Browse Source

Update Chart-Component.md

pull/10186/head
Mehmet Erim 4 years ago
committed by GitHub
parent
commit
6402da4b52
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/en/UI/Angular/Chart-Component.md

3
docs/en/UI/Angular/Chart-Component.md

@ -61,7 +61,6 @@ See the result:
### Doughnut
```ts
import { getRandomBackgroundColor } from '@abp/ng.components/chart.js';
import { Component } from '@angular/core';
@Component({
@ -83,7 +82,7 @@ export class ChartDemoComponent {
{
label: 'Dataset 1',
data: [40, 15, 45],
backgroundColor: getRandomBackgroundColor(3),
backgroundColor: ['#a0e6c3', '#f0ea4c', '#5b9dc3'],
},
],
};

Loading…
Cancel
Save