From ea8bfb46bdfc42ce741af8b7bb2d3dabbb8d8eda Mon Sep 17 00:00:00 2001 From: Jerome Touffe-Blin Date: Mon, 14 Mar 2016 21:11:55 +1100 Subject: [PATCH] Update index.html to add ChartJsProvider and setOptions for settings different colours. Handed-picked from @ByJC --- examples/charts.html | 4 ++++ examples/charts.template.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/examples/charts.html b/examples/charts.html index 1856ab2b..debf9443 100644 --- a/examples/charts.html +++ b/examples/charts.html @@ -112,6 +112,10 @@

Colours

  • Grey
  • Dark Grey
  • +

    You can also use the provider: ChartJsProvider in a .config()

    +

    (function (ChartJsProvider) {
    +  ChartJsProvider.setOptions({ colours : [ '#803690', '#00ADF9', '#DCDCDC', '#46BFBD', '#FDB45C', '#949FB1', '#4D5360'] });
    +});