-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaocao.html
111 lines (107 loc) · 4.04 KB
/
baocao.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Clownz</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./assets/fontawesome-free-6.1.1-web/css/all.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>
<link rel="stylesheet" href="./assets/style.css">
</head>
<body>
<div class="container">
<div class="sidebar">
<div class="user">
<div class="user__avt">
<a href="./thongtintaikhoan.html"><img src="./assets/img/siderbar/user/avt.jpg" alt=""></a>
</div>
<div class="user__name">
<p>Welcome,</p>
<p>Ngô Hồng Nhung'</p>
</div>
</div>
<!-- <div class="sidebar__item">
<div class="item">
<i class="fa-solid fa-house"></i>
<p><a href="./index.html">Trang Chủ</a></p>
</div>
<ul class="menu">
</ul>
</div> -->
<div class="sidebar__item">
<div class="item">
<i class="fa-solid fa-pen-to-square"></i>
<p>Quản Lý</p>
<i class="fa-solid fa-angle-down"></i>
</div>
<ul class="menu">
<li class="menu__item"><a href="./qlySanpham.html">Quản lý Sản phẩm</a></li>
<li class="menu__item"><a href="./qlyNhanvien.html">Quản lý Nhân viên</a></li>
</ul>
</div>
<div class="sidebar__item">
<div class="item">
<i class="fa-solid fa-chart-column"></i>
<p><a href="./baocao.html">Báo Cáo</a></p>
</div>
<ul class="menu">
<!-- <li class="menu__item">Quản lý Sản phẩm</li>
<li class="menu__item">Quản lý Nhân viên</li> -->
</ul>
</div>
<div class="sidebar__item">
<div class="item">
<i class="fa-solid fa-user"></i>
<p>Tài Khoản</p>
<i class="fa-solid fa-angle-down"></i>
</div>
<ul class="menu">
<li class="menu__item"><a href="./thongtintaikhoan.html">Thông tin tài khoản</a></li>
<li class="menu__item"><a href="./login.html">Đăng xuất</a></li>
</ul>
</div>
</div>
<div class="content">
<div class="local">
<h1>Báo Cáo</h1>
</div>
<canvas id="myChart" style="width:100%; max-width: 90%; margin: 40px 0 0 40px;"></canvas>
</div>
</div>
<script>
var xyValues = [
{x:50, y:7},
{x:60, y:8},
{x:70, y:8},
{x:80, y:9},
{x:90, y:9},
{x:100, y:9},
{x:110, y:10},
{x:120, y:11},
{x:130, y:14},
{x:140, y:14},
{x:150, y:15}
];
new Chart("myChart", {
type: "scatter",
data: {
datasets: [{
pointRadius: 4,
pointBackgroundColor: "rgb(0,0,255)",
data: xyValues
}]
},
options: {
legend: {display: false},
scales: {
xAxes: [{ticks: {min: 40, max:160}}],
yAxes: [{ticks: {min: 6, max:16}}],
}
}
});
</script>
<script src="./qlyNV.js"></script>
</body>
</html>