| Class | Scruffy::Layers::AllSmiles |
| In: |
lib/scruffy/layers/all_smiles.rb
|
| Parent: | Base |
| Author: | Brasten Sager |
| Date: | August 8th, 2006 |
The AllSmiles graph consists of smiley faces for data points, with smiles or frowns depending upon their relative location on the graph. The highest point is crowned with a wizard hat. The Wizard Smiley eventually become ‘Scruffy’, our mascot.
I don’t know why.
This graph only looks decent in SVG mode. If you’re rasterizing the graph with ImageMagick, you must use the :complexity => :minimal option on Graph#render. This will make the graph look really nasty, but still better than if you try to rasterize with all the gradients in place.
| standalone | [RW] |
Returns a new AllSmiles graph.
Options:
| standalone: | If set to true, dashed lines under smilies run vertically, like bar graphs. If false (default), dashed lines run from smiley to smiley, like a line-graph. |