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] |
Legacy (4 days old). Removed scaled from layout engine, changed to relative, with different math involved. Translate here so I don‘t have to entirely redo this graph.