From 2f66b1dec1b8e832e6c47de664432e2f51a3727f Mon Sep 17 00:00:00 2001 From: Daniel Flippance Date: Wed, 31 Aug 2016 20:53:18 -0700 Subject: [PATCH] Added color example Added example of setting colors --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c7e3405..0c9973bd 100644 --- a/README.md +++ b/README.md @@ -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: + +``` + +``` + If there is more data than colors, colors are generated randomly or can be provided via a function through the `getColor` attribute.