Path: | lib/scruffy/formatters.rb |
Last Update: | Wed Apr 10 01:56:59 +0000 2013 |
Author: | Brasten Sager |
Date: | August 16th, 2006 |
Formatters are used to format the values displayed on the y-axis by setting graph.value_formatter.
Example:
graph.value_formatter = Scruffy::Formatters::Currency.new(:precision => 0)