Found a bug, fixed it in github.
But got an email a couple of minutes after the pull request telling me that the github repository is not monitored.
So therefore i just post the resolution here :
in wpcharts.js there is a statement
else if (type == 'pie', options)
which needs to be changed to
else if (type == 'pie')
ps how do i submit patches ?