From 68f86cac4f082ea916c2bfd2fd04694d5db13449 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Tue, 26 Nov 2013 19:04:22 -0200 Subject: [PATCH] Some style to the metrics history graphic --- app/assets/javascripts/module/graphic.js.coffee | 2 +- app/controllers/modules_controller.rb | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/module/graphic.js.coffee b/app/assets/javascripts/module/graphic.js.coffee index dc6387f..4b6d6ad 100644 --- a/app/assets/javascripts/module/graphic.js.coffee +++ b/app/assets/javascripts/module/graphic.js.coffee @@ -15,4 +15,4 @@ class Module.Graphic display(data,container) display: (data, container) -> - $('div#'+container).html('') \ No newline at end of file + $('div#'+container).html('') \ No newline at end of file diff --git a/app/controllers/modules_controller.rb b/app/controllers/modules_controller.rb index 5ad33e5..b726786 100644 --- a/app/controllers/modules_controller.rb +++ b/app/controllers/modules_controller.rb @@ -26,7 +26,9 @@ class ModulesController < ApplicationController graphic.hide_title = true graphic.hide_legend = true graphic.theme = { - :background_colors => 'transparent' + colors: ['grey'], + marker_color: 'black', + background_colors: '#fff', } graphic.labels = Hash[dates.each_with_index.map{ |date, index| [index, date.to_s]}] -- libgit2 0.21.2