Skip to content

An Angular Js Directive which allows to simplify the use of Highcharts charts

License

Notifications You must be signed in to change notification settings

yulaoshi/angular-highcharts-directive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Highcharts Directive

An angular directive that wraps around highcharts.

See the code below for this convenient and modelar integration.

USing this directive along with some of the code

HTML

<div>
    <chart value="basicAreaChart" type="area" height="400"></chart>
</div>

Angular

'use strict';

angular.module('chartsExample.controllers', []).controller('MainCtrl', ['$scope', '$http', function($scope, $http) {
    $http.get("charts/basicAreaChart.json").success(function(data) {
        $scope.basicAreaChart = data;
    });
}]);

Bitdeli Badge

About

An Angular Js Directive which allows to simplify the use of Highcharts charts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.3%
  • HTML 24.7%