Add an helper to create jqplot graph in views