docs for the config module - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 6635bd5d1cb277aad7320a902e4450349ff07fe3
(DIR) parent ef40888a91e814fc7401767447d6045e51b4eb29
(HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Date: Wed, 26 May 2010 11:26:56 +0200
docs for the config module
Diffstat:
M lib/saulabs/reportable/config.rb | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
---
(DIR) diff --git a/lib/saulabs/reportable/config.rb b/lib/saulabs/reportable/config.rb
@@ -2,6 +2,8 @@ module Saulabs
module Reportable
+ # The Reportable configuration module defines colors, sizes etc. for the different report tag renderers.
+ #
module Config
mattr_accessor :google_options
@@ -15,30 +17,30 @@ module Saulabs
}
mattr_accessor :raphael_options
-
+
@@raphael_options = {
- :width => 300,
- :height => 100,
- :dom_id => nil,
- :format => 'to_i',
- :shade => true,
+ :width => 300,
+ :height => 100,
+ :dom_id => nil,
+ :format => 'to_i',
+ :shade => true,
:hover_line_color => '2f69bf',
:hover_fill_color => '2f69bf'
}
-
+
mattr_accessor :flot_options
-
+
@@flot_options = {
- :width => 300,
- :height => 100,
- :dom_id => nil,
+ :width => 300,
+ :height => 100,
+ :dom_id => nil,
:colors => ['rgba(6,122,205,1)'],
- :grid => {
+ :grid => {
:show => false
},
:series => {
- :lines => {
- :fill => true,
+ :lines => {
+ :fill => true,
:fillColor => 'rgba(6,122,205,.5)',
:lineWidth => 2
},