-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
190 lines (161 loc) · 5.03 KB
/
home.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/jquery.minicolors.css">
<link href="css/style.css" rel="stylesheet">
<script>var pagename = "home"</script>
</head>
<body>
<nav class="navbar navbar-default custom-nav" role="navigation">
<div class="container-fluid">
<div class="collapse navbar-collapse" id="header-nav">
<ul class="nav navbar-nav">
<li><a href="home.html">Home</a></li>
<li><a href="design.html">Design</a></li>
<li><a href="roles.html">Roles</a></li>
<li><a href="apps.html">Apps</a></li>
<li><a href="#">Products</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-design">
<div class="home-top-content">
<div class="home-top-content-left">
<p class="fontsize18">NOTIFICATIONS</p>
<div></div>
</div>
<div class="home-top-content-right">
<p class="fontsize18">MESSAGES</p>
<div></div>
</div>
</div>
<div class="home-chart-content">
<div id="piechartcontainer"></div>
<div id="linechartcontainer"></div>
<div id="barchartcontainer"></div>
</div>
<div class="clr"></div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.minicolors.js"></script>
<script src="js/masonry.pkgd.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/exporting.js"></script>
<script src="js/script.js"></script>
<script>
$(document).ready( function() {
$('#piechartcontainer').highcharts({
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false
},
title: {
text: 'Browser Access'
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: false
},
showInLegend: true
}
},
series: [{
type: 'pie',
name: 'Browser share',
data: [
['Firefox', 45.0],
['IE', 26.8],
['Chrome', 12.8],
['Safari', 8.5]
]
}]
});
$('#linechartcontainer').highcharts({
title: {
text: 'Visitors',
x: -20 //center
},
xAxis: {
categories: ['6:00','7:00','8:00','9:00','10:00','11:00',
'12:00','13:00','14:00','15:00']
},
yAxis: {
title: {
text: ''
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'horizontal',
align: 'bottom',
verticalAlign: 'bottom',
borderWidth: 0
},
series: [{
name: 'Visitors',
data: [7.0, 6.9, 9.5, 14.5, 20.2, 25.2, 23.3, 18.3, 13.9, 9.6]
}, {
name: 'Returning Visitors',
data: [3.9, 4.2, 5.7, 8.5, 11.9, 13.6, 15.2, 10.3, 6.6, 4.8]
}]
});
$('#barchartcontainer').highcharts({
chart: {
type: 'column'
},
title: {
text: 'Consumer'
},
xAxis: {
categories: [
'6:00',
'7:00',
'8:00',
'9:00',
'10:00',
'11:00',
'12:00'
]
},
yAxis: {
min: 0,
title: {
text: ''
}
},
plotOptions: {
column: {
pointPadding: 0.2,
borderWidth: 0
}
},
series: [{
name: 'Tokyo',
data: [5, 3, 2, 5, 4, 1]
}, {
name: 'New York',
data: [2, 3, 4, 3, 4, 1]
}, {
name: 'London',
data: [4, 5, 5, 6, 2, 4]
}]
});
$('div.highcharts-container svg text tspan:contains("Highcharts.com")').text("");
});
</script>
</body>
</html>