Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add formatter to list of things that don't get jsonified

  • Loading branch information...
commit 6917933507617e3ed5853e4c5ea39f735950c427 1 parent a63c0ea
@pospischil pospischil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/lazy_high_charts/layout_helper.rb
View
2  lib/lazy_high_charts/layout_helper.rb
@@ -23,7 +23,7 @@ def high_graph_stock(placeholder, object, formatter=nil)
end
def build_html_output(type, placeholder, object, formatter=nil)
- options_collection = jsonify_hash_with_exceptions(object.options, ["onclick", "load"])
+ options_collection = jsonify_hash_with_exceptions(object.options, ["onclick", "load", "formatter"])
options_collection << "series: #{object.data.to_json}"
graph =<<-EOJS
Please sign in to comment.
Something went wrong with that request. Please try again.