-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preject restructured / bower support
- Loading branch information
Frank Thelen
committed
Apr 5, 2015
1 parent
5a37278
commit 5d7e45a
Showing
10 changed files
with
438 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bower_components | ||
node_modules | ||
dist | ||
.tmp | ||
.sass-cache | ||
.project | ||
.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
{ | ||
"name": "ngRadialGauge", | ||
"version": "1.0.0", | ||
"description": "Angular.js Radial Gauge", | ||
"main": "index.html", | ||
"description": "AngularJS Radial Gauge", | ||
"main": "./src/ng-radial-gauge-dir.js", | ||
"keywords": [ | ||
"Angular.Js", | ||
"AngularJS", | ||
"Radial", | ||
"Gauge" | ||
"Gauge", | ||
"d3" | ||
], | ||
"authors": [ | ||
"Stephane Therrien" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/stherrienaspnet/ngRadialGauge", | ||
"ignore": [ | ||
".jshintrc", | ||
"**/*.txt" | ||
".jshintrc", | ||
"**/*.txt", | ||
"node_modules", | ||
"bower_components", | ||
"test" | ||
], | ||
"dependencies": { | ||
"d3": "~3.4.4", | ||
"angular": "~1.2.28", | ||
"d3": "~3.4.0", | ||
"angular": "~1.3.0", | ||
"jquery": "~2.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>ngRadialGauge Demo</title> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> | ||
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | ||
<script src="../src/ng-radial-gauge-dir.js"></script> | ||
<script> | ||
|
||
angular.module('RadialGaugeDemo', [ | ||
'ngRadialGauge' | ||
]); | ||
|
||
angular.module('RadialGaugeDemo').controller('RadialGaugeDemoCtrl', ['$scope', function ($scope) { | ||
$scope.value = 1.5; | ||
$scope.upperLimit = 6; | ||
$scope.lowerLimit = 0; | ||
$scope.unit = "kW"; | ||
$scope.precision = 2; | ||
$scope.ranges = [ | ||
{ | ||
min: 0, | ||
max: 1.5, | ||
color: '#DEDEDE' | ||
}, | ||
{ | ||
min: 1.5, | ||
max: 2.5, | ||
color: '#8DCA2F' | ||
}, | ||
{ | ||
min: 2.5, | ||
max: 3.5, | ||
color: '#FDC702' | ||
}, | ||
{ | ||
min: 3.5, | ||
max: 4.5, | ||
color: '#FF7700' | ||
}, | ||
{ | ||
min: 4.5, | ||
max: 6.0, | ||
color: '#C50200' | ||
} | ||
]; | ||
}]); | ||
|
||
</script> | ||
</head> | ||
<body ng-app="RadialGaugeDemo"> | ||
<div ng-controller="RadialGaugeDemoCtrl"> | ||
<div width="300" ng-radial-gauge ranges="ranges" value="value" value-unit="unit" precision="precision" lower-limit="lowerLimit" upper-limit="upperLimit"></div> | ||
</div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
ngRadialGauge/ngRadialGauge/src/scripts/controllers/ng-radial-gauge-ctrl.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.