A DSL for outputting JSON for OFC2
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
requirements
tasks
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

Ezchart
=======

A DSL for generating JSON for OFC2. Not complete/polished yet.


Example
=======

graph = EzChart do
		title "Foobar"
		
		bar do
			text "Foo"
			values [1,2,3,4,5]
			colour '#ff0000'
		end

		y_axis do
			min 0
			max 100
		end
		
		x_axis do
			labels do
				labels [5,4,3,2,1]
			end
		end
	end


Copyright (c) 2009 Jack Chen, released under the MIT license