Skip to content

Commit

Permalink
Further work on visulization
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Jan 9, 2015
1 parent b771035 commit 7ed7c65
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/d3Bindings/d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ angular.module("bawApp.d3", [
"bawApp.d3.dotView",
"bawApp.d3.terrainView",
"bawApp.d3.timelineView",
"bawApp.d3.eventDistribution.distributionOverview",
"bawApp.d3.eventDistribution.distributionDetail",
"bawApp.d3.eventDistribution.distributionOverview"
"bawApp.d3.eventDistribution.distributionController"

]);
23 changes: 23 additions & 0 deletions src/app/d3Bindings/eventDistribution/distributionOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,30 @@ angular
"eventDistributionOverview",
[
function () {
// main functions

function setUp(element, data) {

}



// directive definition object
return {
restrict: "EA",
scope: {
data: "="
},
link: function($scope, $element, attributes, controller, transcludeFunction) {

var element = $element[0];



},
controller:"distributionController"

}
}
]
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
angular
.module("bawApp.d3.eventDistribution.distributionController", [])
.controller(
"distributionController",
[
"$scope",
function($scope, $element, $attrs) {

}
]);
3 changes: 2 additions & 1 deletion src/app/visualize/visualize.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular
"$http",
function($scope, $http) {

// testing
// testing data
$scope.recordingData = {};
$http.get("assets/temp/dummyData.json").then(function(response) {
$scope.recordingData = response.data;
Expand All @@ -17,6 +17,7 @@ angular




// gridlines
$scope.gridConfig = {

Expand Down

0 comments on commit 7ed7c65

Please sign in to comment.