Update wpcharts.js

fixed test for 'pie'