rwjblue / pivot.js

Build Pivot Tables from CSV/JSON Data
http://rwjblue.github.com/pivot.js/
Other
783 stars 134 forks source link

Object #<Object> has no method 'summarizeFunction #21

Open sourcebits-piyush opened 11 years ago

sourcebits-piyush commented 11 years ago

Hi, as in your demo..

setupPivot({url:'./lib/csv/demo.csv', fields: fields, filters: {employer: 'Acme Corp'}, rowLabels:["city"], summaries:["billed_amount", "payment_amount"]});

when i am trying to set the summaries:["billed_amount", "payment_amount"],it gives me the Object # has no method 'summarizeFunction Error. please provide me some solution to this. thanks in advance

rwjblue commented 11 years ago

Can you give me a fuller example? Perhaps you could put together a JSBin illustrating the error?