Introduction
Introduction Statistics Contact Development Disclaimer Help
eval format in raphael_report_tag again - reportable - Fork of reportable requi…
Log
Files
Refs
README
---
commit cb4ffc9ae26e50d844a3bd21be0d0530e7a59fa4
parent 41036d1dd9fb08c4d5959c2147c0135b1c4daf13
Author: Lars Kuhnt <[email protected]>
Date: Fri, 22 Oct 2010 18:05:38 +0200
eval format in raphael_report_tag again
Diffstat:
M lib/saulabs/reportable/report_tag_… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/saulabs/reportable/report_tag_helper.rb b/lib/saulabs/reportab…
@@ -94,7 +94,7 @@ module Saulabs
graph.g.linechart(
-10, 4, #{options[:width]}, #{options[:height]},
#{(0..data.size).to_a.to_json},
- #{data.map { |d| d[1].send(options[:format]) }.to_json},
+ #{data.map { |d| d[1].send(:eval, options[:format]) }.to_json},
#{raphael_options.to_json}
).hover(function() {
this.disc = graph.g.disc(this.x, this.y, 3).attr({fill: "#{options…
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.