]> git.parisson.com Git - teleforma.git/commitdiff
Display all graduation on X axis
authorGael Le Mignot <gael@pilotsystems.net>
Mon, 26 Nov 2018 14:05:25 +0000 (15:05 +0100)
committerGael Le Mignot <gael@pilotsystems.net>
Mon, 26 Nov 2018 14:05:25 +0000 (15:05 +0100)
teleforma/exam/views.py

index e38b2f5f778bcaf94cc7b488d7cff3f036f3839e..3b7a8c64b054d66ac6119c5bf12c2e9645cf28ec 100755 (executable)
@@ -293,10 +293,11 @@ class ScriptsScoreAllView(ScriptsTreatedView):
             'chartdata': chartdata,
             'chartcontainer': chartcontainer,
             'extra': {
-            'x_is_date': False,
-            'x_axis_format': '',
-            'tag_script_js': True,
-            'jquery_on_ready': False,}
+                'x_is_date': False,
+                'x_axis_format': '',
+                'chart_attr': { 'reduceXTicks': 0 },
+                'tag_script_js': True,
+                'jquery_on_ready': False,}
             }
         return data