-
Notifications
You must be signed in to change notification settings - Fork 1
/
corpROI.html
84 lines (73 loc) · 4.31 KB
/
corpROI.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Disrupt DC - A Business Coalition for Innovation and Competition</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.3/angular-route.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="script.js"></script>
<script src="angular-fontawesome.js"></script>
<script src="../bower_components/Chart.js/Chart.min.js"></script>
<script src="../bower_components/angular-chart.js/dist/angular-chart.js"></script>
<link rel="stylesheet" href="../bower_components/angular-chart.js/dist/angular-chart.css" />
<link href="../css/stylish-portfolio.css" rel="stylesheet">
<link href="../css/disrupt-dc.css" rel="stylesheet">
<link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link href="http://cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:400px;}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
</head>
<body ng-app="single-page-app">
<body>
<div style="width: 50%">
<canvas id="canvas" height="450" width="600"></canvas>
</div>
<script>
var randomScalingFactor = function(){ return Math.round(Math.random()*100)};
var barChartData = {
labels : ["January","February","March","April","May","June","July"],
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,0.8)",
highlightFill: "rgba(220,220,220,0.75)",
highlightStroke: "rgba(220,220,220,1)",
data : [randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]
},
{
fillColor : "rgba(151,187,205,0.5)",
strokeColor : "rgba(151,187,205,0.8)",
highlightFill : "rgba(151,187,205,0.75)",
highlightStroke : "rgba(151,187,205,1)",
data : [randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]
}
]
}
window.onload = function(){
var ctx = document.getElementById("canvas").getContext("2d");
window.myBar = new Chart(ctx).Bar(barChartData, {
responsive : true
});
}
</script>
</body>
<div class = "corpROI">
<button ng-click = "console.log('hello')" ng-model = "corpROI.selectedCom"></button>
<button ng-click = "console.log('hello')" ng-model = "corpROI.selectedCom">Bank of America</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">AT&T Inc</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Honeywell International</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">JPMorgan Chase & Co</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Microsoft Corp</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Comcast Corp</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Deloitte LLP</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Lockheed Martin</button>
<button ng-click = "corpROI.getCompanyInfo(Goldman_Sachs)" ng-model = "corpROI.selectedCom">Morgan Stanley</button>
</div>
</body>