Skip to content

Commit

Permalink
simplify default sparkline options
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Oct 12, 2009
1 parent aa1c6f2 commit 0e94cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack-sparklines.rb
Expand Up @@ -4,7 +4,7 @@ module Rack
# Render sparkline graphs dynamically from datapoints in a matching CSV file
# (or anything that there is a Handler for).
class Sparklines
DEFAULT_SPARK_OPTIONS = {:has_min => true, :has_max => true, 'has_last' => 'true', 'height' => '40', :step => 10, :normalize => 'logarithmic'}
DEFAULT_SPARK_OPTIONS = {:has_min => true, :has_max => true, :height => 40, :step => 10}

# Options:
# :spark - Hash of sparkline options. See spark_pr.rb
Expand Down

0 comments on commit 0e94cca

Please sign in to comment.