Module: Saulabs::Reportable::Config

Defined in:
lib/saulabs/reportable/config.rb

Overview

The Reportable configuration module defines colors, sizes etc. for the different report tag renderers.

Constant Summary

@@google_options =
{
  :width      => 300,
  :height     => 34,
  :line_color => '0077cc',
  :fill_color => 'e6f2fa',
  :labels     => []
}
@@raphael_options =
{
  :width            => 300,
  :height           => 100,
  :dom_id           => nil,
  :format           => 'to_i',
  :shade            => true,
  :hover_line_color => '2f69bf',
  :hover_fill_color => '2f69bf'
}
@@flot_options =
{
  :width  => 300,
  :height => 100,
  :dom_id => nil,
  :colors => ['rgba(6,122,205,1)'],
  :grid   => { 
    :show => false
  },
  :series => {
    :lines      => {
      :fill      => true,
      :fillColor => 'rgba(6,122,205,.5)',
      :lineWidth => 2
    },
    :shadowSize => 0
  }
}