Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김가영
/
Probability Death
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
조민지
2018-12-09 20:13:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd2978c78d0c771fe68e9289a7c6a827f388a70d
dd2978c7
1 parent
9ca1929b
ejs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
19 deletions
views/index.ejs
views/index.ejs
View file @
dd2978c
...
...
@@ -106,15 +106,11 @@
{
name
:
"사망률"
,
data
:
(
function
()
{
// generate an array of random data
var
data
=
[],
time
=
new
Date
().
getTime
(),
i
;
var
deathArr
=
new
Arr
();
length
=
<%=
dataLen
%>
;
var
deathArr
=
[],
time
=
new
Date
().
getTime
();
var
length
=
<%=
dataLen
%>
;
var
i
=-
9
;
for
(
var
i
;
i
<
length
;
i
++
)
for
(
i
;
i
<-
9
+
length
;
i
++
)
{
deathArr
.
push
({
x
:
time
+
i
*
60000
,
...
...
@@ -122,27 +118,20 @@
})
}
<%
probArr
.
forEach
((
probArr
)
=>
{
%>
temp
;
temp
=
<%=
probArr
%>
;
for
(
var
j
=
length
;
i
<
10
;
j
++
)
for
(
i
+
1
;
i
<=
0
;
i
++
)
{
deathArr
.
push
({
x
:
time
+
j
*
60000
,
y
:
x
:
time
+
i
*
60000
,
y
:
temp
})
}
<%
})
%>
for
(
i
=
-
19
;
i
<=
0
;
i
+=
1
)
{
data
.
push
({
x
:
time
+
i
*
60000
,
y
:
0
});
}
return
data
;
return
deathArr
;
})()
}
]
...
...
Please
register
or
login
to post a comment