From 7687618ea62837f6f813987037c8ff2e5975d151 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 11 Sep 2015 08:28:16 -0400 Subject: [PATCH] Invert series palette. --- mayan/apps/statistics/classes.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mayan/apps/statistics/classes.py b/mayan/apps/statistics/classes.py index c6d03b3940..6d634ceab8 100644 --- a/mayan/apps/statistics/classes.py +++ b/mayan/apps/statistics/classes.py @@ -95,14 +95,6 @@ class CharJSLine(ChartRenderer): template_name = 'statistics/backends/chartjs/line.html' dataset_palette = ( - { - 'fillColor': "rgba(220,220,220,0.2)", - 'strokeColor': "rgba(220,220,220,1)", - 'pointColor': "rgba(220,220,220,1)", - 'pointStrokeColor': "#fff", - 'pointHighlightFill': "#fff", - 'pointHighlightStroke': "rgba(220,220,220,1)", - }, { 'fillColor': "rgba(151,187,205,0.2)", 'strokeColor': "rgba(151,187,205,1)", @@ -110,6 +102,14 @@ class CharJSLine(ChartRenderer): 'pointStrokeColor': "#fff", 'pointHighlightFill': "#fff", 'pointHighlightStroke': "rgba(151,187,205,1)", + }, + { + 'fillColor': "rgba(220,220,220,0.2)", + 'strokeColor': "rgba(220,220,220,1)", + 'pointColor': "rgba(220,220,220,1)", + 'pointStrokeColor': "#fff", + 'pointHighlightFill': "#fff", + 'pointHighlightStroke': "rgba(220,220,220,1)", } )