lib/graphs/engines/bluff.rb in metric_fu-1.2.0 vs lib/graphs/engines/bluff.rb in metric_fu-1.3.0
- old
+ new
@@ -1,12 +1,13 @@
-require 'activesupport'
+require 'active_support'
module MetricFu
class Grapher
BLUFF_GRAPH_SIZE = "1000x600"
BLUFF_DEFAULT_OPTIONS = <<-EOS
var g = new Bluff.Line('graph', "#{BLUFF_GRAPH_SIZE}");
g.theme_37signals();
+ g.tooltips = true;
g.title_font_size = "24px"
g.legend_font_size = "12px"
g.marker_font_size = "10px"
EOS
end