lib/jquery_cheats.rb in jquery_cheats-4.1.3 vs lib/jquery_cheats.rb in jquery_cheats-4.2.0
- old
+ new
@@ -45,9 +45,13 @@
#create a new barchar div tag, class of jqplot is used to simplify jquery binding
html = "<div id=\"#{name}\" class=\"piechart\" data-xmlurl=\"#{xmlurl}\"></div>".html_safe
#we will have to relly on XML to get the rest of the data...
end
+ def stackedcolumn(name,xmlurl)
+ html = "<div id=\"#{name}\" class=\"stackedcolumn\" data-xmlurl=\"#{xmlurl}\"></div>".html_safe
+ end
+
def initialize
end
#end#end self
\ No newline at end of file