Sha256: 4334e1a67e3830ec83d9ba8cb739b3be66b9e0baf88a9cef38501587bc7c85fa
Contents?: true
Size: 419 Bytes
Versions: 5
Compression:
Stored size: 419 Bytes
Contents
# path setting magic for example directory only $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require "chart_js" ChartJS.bar do file "example.html" data do labels ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"] dataset "Apples" do color :random data [12, 19, 3, 5, 2, 3] end dataset "Pears" do color :random data [10, 12, 3, 4, 5, 3] end end end
Version data entries
5 entries across 5 versions & 1 rubygems