migrate code to yui
Issue #7
new
May be do the work and get the stuff made by yui module. Wrap the js code as yui module to use it moodlewide, add another types of charts. Learn more about yui.