aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts
diff options
context:
space:
mode:
authorSonja Galovic <galovicsonja@gmail.com>2022-05-08 22:06:01 +0200
committerSonja Galovic <galovicsonja@gmail.com>2022-05-08 22:06:01 +0200
commit6a9016849d5b5e36897395efdb47c0aa39235c69 (patch)
tree46b5810190c68e6424fdbd81fed931f43aed803e /frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts
parent21fb702db98de85a75ce1abda898b89968aef91d (diff)
Column-table: enkodiranje numerickih kolona i izlazne kolone disabled; ispravljen bag kad korisnik ne cekira nijednu kolonu ili cekira jednu za koriscenje (upozorenje). Napravljene input varijable za prosledjivanje potrebnih vrednosti pie-chart i boxplot komponentama od strane column-table. Profile page: dodata klasa za hover odabir profilne slike.
Diffstat (limited to 'frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts')
-rw-r--r--frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts b/frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts
index f141f522..932ed963 100644
--- a/frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts
+++ b/frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts
@@ -10,6 +10,8 @@ export class PieChartComponent implements AfterViewInit {
@Input()width?: number;
@Input()height?: number;
+ @Input()uniqueValues?: string[] = [];
+ @Input()uniqueValuesPercent?: number[] = [];
@ViewChild('piechart') chartRef!: ElementRef;
constructor() { }