| Class | Scruffy::Themes::Base |
| In: |
lib/scruffy/themes.rb
|
| Parent: | Object |
| Author: | Brasten Sager & A.J. Ostman |
| Date: | August 27th, 2006 |
The base theme class. Most themes can be constructed simply by instantiating a new Base object with a hash of color values.
See Scruffy::Themes::Base#instantiate for examples.
| background | [RW] | |
| colors | [RW] | |
| font_family | [RW] | |
| marker | [RW] |
Returns a new Scruffy::Themes::Base object.
Hash options:
| background: | background color. |
| colors: | an array of color values to use for graphs. |
| marker: | color used for grid lines, values, data points, etc. |
| font_family: | in general, allows you to change the font used in the graph. This is not yet supported in most graph elements, and may be deprecated soon anyway. |