diff options
author | Danijel Anđelković <adanijel99@gmail.com> | 2022-05-20 04:35:30 +0200 |
---|---|---|
committer | Danijel Anđelković <adanijel99@gmail.com> | 2022-05-20 04:35:30 +0200 |
commit | 0d26561af8243f76ef6a62e3d892a2f5ed7f5755 (patch) | |
tree | d209b1661fe42412dacc6f705e68724ced99ec8a /frontend/src/app/_elements/_charts/pie-chart/pie-chart.component.ts | |
parent | 0d476fb3a73921bbea0994509bc95a19cebae70c (diff) | |
parent | 5c7c335f8d3d921c3e02908e8c33901c21785907 (diff) |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar
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.ts | 2 |
1 files changed, 0 insertions, 2 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 9264e41c..0b0057ea 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 @@ -14,14 +14,12 @@ export class PieChartComponent implements AfterViewInit { @Input()uniqueValuesPercent?: number[] = []; updatePieChart(uniqueValues: string[], uniqueValuesPercent: number[]){ - //console.log(this.uniqueValues, this.uniqueValuesPercent); this.pieChartData.datasets = [{ label: "%", backgroundColor: ["#3e95cd", "#8e5ea2","#3cba9f","#e8c3b9","#c45850", "#000000"], data: uniqueValuesPercent, }]; this.pieChartData.labels = uniqueValues - console.log(this.uniqueValues, this.uniqueValuesPercent); this.myChart?.update() }; |