Difference between angularjs-nvd3-directives vs angular-nvd3
Asked Answered
E

3

7

I would need any suggestion help or whatever. I am doing BI tools with new technologies and I am really interesting on them, even participating in one of these project. However, I would like to know a priori pros and cons

Links

https://github.com/angularjs-nvd3-directives/angularjs-nvd3-directives

https://github.com/krispo/angular-nvd3

Thx

Electromotive answered 27/2, 2015 at 13:41 Comment(1)
Did you reach a conclusion on this?Mongolic
U
4

I'm faced with this same question and I thought I would share my thoughts. I'm going with https://github.com/krispo/angular-nvd3. As of today, the most recent push on github was 15 days ago. The other choice hasn't been pushed for 8 months. In addition, angular-nvd3 has great examples and more documentation. As Vincent said, they both use nvd3 as the engine, so you'll probably get the same amount of performance. But for usability, I'll take recently updated and lots of examples.

Usurer answered 14/10, 2015 at 21:57 Comment(0)
J
3

I was investigating the same two. Both seem promising, and accessible.

My preference: Angular-nvD3 - more control;

The charting engine is the same (nvd3).

angular-nvD3:

  • full range of charts - same as nvd3
  • Just a shell around nvd3
  • you will do most of your work in java (behind the scenes)
  • In the front-end working with one nvd3 directive, and in the backend - you configure elaborate 'options' and 'data' objects.

nvD3-directvies:

  • wide, but smaller range of charts (check websites)
  • More declarative: range of nvd3 directives (one for each chart); options are declared as attributes
  • more natural to link to separate model variables

I might update this answer when I learn more.

Joyance answered 11/6, 2015 at 14:42 Comment(1)
It seems like angularjs-nvd3-directives has stopped development, I was having trouble with a bug then I saw that it's last PR to master was 10 months agoCordiform
V
1

With angular-nvd3-directives since a lot of the config options are attributes, it can be slightly slower since angular will be watching for any changes on any of the directive attributes. Another con is that the directives file is larger (un-minified 115kb).

I prefer "angular-nvd3" as the json options can be created as a service and configured and accessed much faster. Also, having worked heavily in angular-highcharts, this is the best way of having a charting directive. It is also smaller (u-nminified 29.1kb)

Vitality answered 6/6, 2016 at 18:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.