Fork from https://bitbucket.org/cleonello/jqplot/