Fix Issue #162, #106,  #98 - Object #<Object> has no method 'map' on pieChart