aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-05-26 17:21:32 +0200
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-05-26 17:21:32 +0200
commitc6f1ca72c5ada7fc42985e129da362796883cb2f (patch)
tree679fe79b12fe7834b3deaa54e96fa88bdc8243d5 /frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts
parenta8b8f3ca0fa3ae30644c86db1d8fde3615a83baa (diff)
Dodato imenovanje osa.
Diffstat (limited to 'frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts')
-rw-r--r--frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts42
1 files changed, 41 insertions, 1 deletions
diff --git a/frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts b/frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts
index acba7201..2b97d6b4 100644
--- a/frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts
+++ b/frontend/src/app/_elements/_charts/line-chart/line-chart.component.ts
@@ -159,7 +159,6 @@ export class LineChartComponent implements AfterViewInit {
options: {
responsive: true,
maintainAspectRatio: true,
-
plugins: {
legend: {
labels: {
@@ -179,6 +178,11 @@ export class LineChartComponent implements AfterViewInit {
grid: {
color: "rgba(0, 99, 171, 0.5)"
},
+ title: {
+ display: true,
+ text: 'Epoha',
+ color:"white"
+ }
},
y: {
beginAtZero: true,
@@ -188,6 +192,11 @@ export class LineChartComponent implements AfterViewInit {
},
grid: {
color: "rgba(0, 99, 171, 0.5)"
+ },
+ title: {
+ display: true,
+ text: 'Vrednost',
+ color:"white"
}
}
@@ -200,6 +209,7 @@ export class LineChartComponent implements AfterViewInit {
},
);
+ if(this.experiment.type==ProblemType.BinaryClassification || this.experiment.type==ProblemType.MultiClassification){}
this.myChartLoss = new Chart("myChartloss",
{
type: 'line',
@@ -241,6 +251,11 @@ export class LineChartComponent implements AfterViewInit {
grid: {
color: "rgba(0, 99, 171, 0.5)"
},
+ title: {
+ display: true,
+ text: 'Epoha',
+ color:"white"
+ }
},
y: {
beginAtZero: true,
@@ -250,6 +265,11 @@ export class LineChartComponent implements AfterViewInit {
},
grid: {
color: "rgba(0, 99, 171, 0.5)"
+ },
+ title: {
+ display: true,
+ text: 'Vrednost',
+ color:"white"
}
}
@@ -303,6 +323,11 @@ export class LineChartComponent implements AfterViewInit {
grid: {
color: "rgba(0, 99, 171, 0.5)"
},
+ title: {
+ display: true,
+ text: 'Epoha',
+ color:"white"
+ }
},
y: {
beginAtZero: true,
@@ -312,6 +337,11 @@ export class LineChartComponent implements AfterViewInit {
},
grid: {
color: "rgba(0, 99, 171, 0.5)"
+ },
+ title: {
+ display: true,
+ text: 'Vrednost',
+ color:"white"
}
}
@@ -365,6 +395,11 @@ export class LineChartComponent implements AfterViewInit {
grid: {
color: "rgba(0, 99, 171, 0.5)"
},
+ title: {
+ display: true,
+ text: 'Epoha',
+ color:"white"
+ }
},
y: {
beginAtZero: true,
@@ -374,6 +409,11 @@ export class LineChartComponent implements AfterViewInit {
},
grid: {
color: "rgba(0, 99, 171, 0.5)"
+ },
+ title: {
+ display: true,
+ text: 'Vrednost',
+ color:"white"
}
}