Module: Scruffy::Formatters

Defined in:
lib/scruffy/formatters.rb

Overview

Scruffy Formatters

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)

Defined Under Namespace

Classes: Base, Currency, Custom, Number, Percentage