score:7

Accepted answer

it's not hard to build a directive that wraps the existing javascript library.

this is code for a highchart directive. it's very simple.

app.directive("highcharts", function() {
  return {
    link: function(scope, el, attrs) {
      var options = scope.$eval(attrs.highcharts);
      options.chart.renderto = el[0];
      new highcharts.chart(options);
    }
  };
})

full demo is here. http://plnkr.co/edit/in8tamkyhiyn4f44ij0u?p=preview

my answer to you is, if you like https://github.com/pablojim/highcharts-ng

  • just add standalone-framework instead of full jquery.

  • if not, like me :), build your own like the demo provided. it's not that hard.

btw, this is the page highcharts introduces their standalone framework.

score:0

highchart is great, but currently even the standalone framework for highcharts comes bundled with a jquery adapter that can't be removed, and this is not so good if your plan is develop a mobile app


Related Query

More Query from same tag