Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,12 @@ angular-chart.js listens to the scope `$destroy` event and destroys the chart wh

# Colors

There are a set of 7 default colors. Colors can be replaced using the `colors` attribute.
There are a set of 7 default colors. Colors can be replaced using the `chart-colors` attribute:

```
<canvas ... chart-colors="['#ff0000', '#00ff00', '#0000ff']">
```

If there is more data than colors, colors are generated randomly or can be provided
via a function through the `getColor` attribute.

Expand Down