lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 136 forks source link

Charts / Graphs page #45

Open lathonez opened 8 years ago

lathonez commented 8 years ago

Implement a page showing frequency of clicks over time

juliocbcotta commented 8 years ago

Do you plan to use any lib? I saw this one being recommended...

lathonez commented 8 years ago

Noted, thank you very much :+1:

chron0 commented 8 years ago

Almost overlooked. I'm also using chart.js heavily in my current ionic2/angular2 kitchensink/learning stage and I've got no idea how to test it properly (hence no coverage).

As of right now chart.js (via ng2-charts) seems like the best choice for angular2 projects since it has no other deps (except for moment.js which it also bundles), renders on canvas instead of resource hogging SVG and is generally kind to mobile/embedded clients.

I'd love to see a best practice ng2-charts/chart.js example for ionic2/angular2, especially when it comes with a way to test it properly. My crude PoC implementation seems to work but I don't believe it to be the "right" way to do it. But it may help to get something started:

https://github.com/apollo-ng/governess/blob/master/governess-app/app/pages/control/control.ts

lathonez commented 8 years ago

Thanks looks very interesting. Will take a look when I get onto it.

On 10 Aug 2016 06:18, "chrono" notifications@github.com wrote:

Almost overlooked. I'm also using chart.js heavily in my current ionic2/angular2 kitchensink/learning stage and I've got no idea how to test it properly (hence no coverage).

As of right now chart.js (via ng2-charts) seems like the best choice for angular2 projects since it has no other deps (except for moment.js which it also bundles), renders on canvas instead of resource hogging SVG and is generally kind to mobile/embedded clients.

I'd love to see a best practice ng2-charts/chart.js example for ionic2/angular2, especially when it comes with a way to test it properly. My crude PoC implementation seems to work but I don't believe it to be the "right" way to do it. But it may help to get something started:

https://github.com/apollo-ng/governess/blob/master/ governess-app/app/pages/control/control.ts

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lathonez/clicker/issues/45#issuecomment-238677542, or mute the thread https://github.com/notifications/unsubscribe-auth/AG5tSIoR57UcU61cB0-s8y5Byc8ZWm7nks5qeOCGgaJpZM4HsfXw .