Skip to content

chendo/ezchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A DSL for outputting JSON for OFC2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published