eval format in raphael_report_tag again - reportable - Fork of reportable required by WarVox, from hdm/reportable.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit cb4ffc9ae26e50d844a3bd21be0d0530e7a59fa4
 (DIR) parent 41036d1dd9fb08c4d5959c2147c0135b1c4daf13
 (HTM) Author: Lars Kuhnt <lars.kuhnt@gmail.com>
       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(-)
       ---
 (DIR) diff --git a/lib/saulabs/reportable/report_tag_helper.rb b/lib/saulabs/reportable/report_tag_helper.rb
       @@ -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[:hover_fill_color]}", stroke: '#{options[:hover_line_color]}' }).insertBefore(this);