-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblank.js
More file actions
45 lines (45 loc) · 1 KB
/
blank.js
File metadata and controls
45 lines (45 loc) · 1 KB
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
myChart = new Chart(document.getElementById("graph"), {
type: 'line',
data: {
labels: totalGens(),
datasets: [{
data: generationWorst,
label: "Worst",
borderColor: "#0000ff",
fill: false
},
{
data: generationAverages,
label: "Average",
borderColor: "#00ff00",
fill: false
},
{
data: generationBests,
label: "Best",
borderColor: "#ff0000",
fill: false
}]
},
options: {
animation: false,
scales: {
yAxes: [{
display: true,
ticks: {
suggestedMin: 0,
beginAtZero: true
}
}]
},
elements: {
point:{
radius: 0
}
},
title: {
display: true,
text: 'Neural Network Progress'
}
}
});