ivanvanderbyl / maximum-plaid

Template driven data visualisation for Ember
http://maximum-plaid.com/
MIT License
74 stars 9 forks source link

Helpers-not working need help #32

Closed kanirudhumar92 closed 8 years ago

kanirudhumar92 commented 8 years ago

ember.debug.js:16591Uncaught Error: Assertion Failed: A helper named 'plot.donut' could not be found

Tried to create a simple demo ember-app , installed maximum plaid and passed data model as donutData = [ { timestamp: 1450345920000, value: 1, projectId: 200 }, { timestamp: 1450345930000, value: 2, projectId: 200 }, { timestamp: 1450345940000, value: 3, projectId: 200 }, { timestamp: 1450345950000, value: 4, projectId: 200 }, { timestamp: 1450345960000, value: 5, projectId: 200 } ] into my component {{#with (area 664 220) as |plotArea|}} {{#plaid-plot plotArea=plotArea as |plot|}}

{{plot.donut (pair-by "timestamp" "value" donutData)}}

{{/plaid-plot}} {{/with}}

Getting the above error.. Need help if i'm doing any worng

ivanvanderbyl commented 8 years ago

What version are you using? plot.donut is only on master at the moment.

kanirudhumar92 commented 8 years ago

Using version 0.1.3 installed using ember-cli ... ember install maximum-plaid

ivanvanderbyl commented 8 years ago

Just point your package to "maximum-plaid": "ivanvanderbyl/maximum-plaid" and npm install and it should work.

ivanvanderbyl commented 8 years ago

We'll be releasing the donut chart and bar chart soon in the next minor release.