diff --git a/README.md b/README.md index 107915260..561e64b53 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/softwaremagico/KendoTournamentManager)](https://github.com/softwaremagico/KendoTournamentManager) [![GitHub last commit](https://img.shields.io/github/last-commit/softwaremagico/KendoTournamentManager)](https://github.com/softwaremagico/KendoTournamentManager) [![CircleCI](https://circleci.com/gh/softwaremagico/KendoTournamentManager.svg?style=shield)](https://circleci.com/gh/softwaremagico/KendoTournamentManager) -[![Time](https://img.shields.io/badge/development-599h-blueviolet.svg)]() +[![Time](https://img.shields.io/badge/development-599.5h-blueviolet.svg)]() [![Powered by](https://img.shields.io/badge/powered%20by%20java-orange.svg?logo=OpenJDK&logoColor=white)]() [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=kendo-tournament-backend&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=kendo-tournament-backend) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 9de261e92..5ec14de83 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -24,7 +24,7 @@ "apexcharts": "^3.37.1", "dom-to-image": "^2.6.0", "jspdf": "^2.5.1", - "ng-apexcharts": "^1.7.4", + "ng-apexcharts": "^1.8.0", "ngx-cookie-service": "^15.0.0", "ngx-webcam": "^0.4.1", "rxjs": "~7.4.0", diff --git a/frontend/package.json b/frontend/package.json index a841e15be..b3bea852a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -26,7 +26,7 @@ "apexcharts": "^3.37.1", "dom-to-image": "^2.6.0", "jspdf": "^2.5.1", - "ng-apexcharts": "^1.7.4", + "ng-apexcharts": "^1.8.0", "ngx-cookie-service": "^15.0.0", "ngx-webcam": "^0.4.1", "rxjs": "~7.4.0", diff --git a/frontend/src/app/components/charts/bar-chart/bar-chart.component.html b/frontend/src/app/components/charts/bar-chart/bar-chart.component.html index 8cf1879ff..a7e01bffc 100644 --- a/frontend/src/app/components/charts/bar-chart/bar-chart.component.html +++ b/frontend/src/app/components/charts/bar-chart/bar-chart.component.html @@ -1,5 +1,5 @@
-
+
{ this.darkMode = switched; this.setFontColors(switched); @@ -99,9 +99,10 @@ export abstract class CustomChartComponent implements OnInit { protected abstract setProperties(): void; - protected getChart(type: ChartType, width: number, shadow: boolean, showToolbar: boolean): ApexChart { + protected getChart(type: ChartType, width: number, height: number | undefined, shadow: boolean, showToolbar: boolean): ApexChart { return { width: width, + //height: height, type: type, dropShadow: this.getShadow(shadow), toolbar: this.getToolbar(showToolbar), diff --git a/frontend/src/app/components/charts/gauge-chart/gauge-chart.component.html b/frontend/src/app/components/charts/gauge-chart/gauge-chart.component.html index fbb3b0759..7ec479fc7 100644 --- a/frontend/src/app/components/charts/gauge-chart/gauge-chart.component.html +++ b/frontend/src/app/components/charts/gauge-chart/gauge-chart.component.html @@ -1,5 +1,5 @@
-
+
-
+
-
+
-
+
-
+
-
+
{{participant.name}} {{participant.lastname
-
+

{{'roles' | translate}}

@@ -44,7 +44,7 @@

{{'tournaments' | translate}}

-
+
timer

{{'time' | translate}}

@@ -87,7 +87,7 @@

{{'duels' | translate}}

-
+

{{'hits' | translate}}

@@ -131,7 +131,7 @@

{{'faults' | translate}}

-
+

{{'receivedHits' | translate}}

@@ -175,7 +175,7 @@

{{'receivedFaults' | translate}}

-
+

{{'competitorsRanking' | translate}}

@@ -202,7 +202,7 @@

{{'competitorsRanking' | translate}}

-
+

{{'performance' | translate}}

@@ -219,7 +219,7 @@

{{'performance' | translate}}

[title]="'participantReceivedHitsStatistics' | translate" [width]="360"> -
+
stars

{{'achievements' | translate}}

diff --git a/frontend/src/app/views/tournament-statistics/tournament-statistics.component.html b/frontend/src/app/views/tournament-statistics/tournament-statistics.component.html index a1a5ce2df..46d393571 100644 --- a/frontend/src/app/views/tournament-statistics/tournament-statistics.component.html +++ b/frontend/src/app/views/tournament-statistics/tournament-statistics.component.html @@ -16,7 +16,7 @@

{{tournament.name}}

-
+

{{'participants' | translate}}

@@ -44,7 +44,7 @@

{{'teams' | translate}}

-
+
timer

{{'time' | translate}}

@@ -89,7 +89,7 @@

{{'faults' | translate}}

+ class="box-statistics box scrollable">

{{'teamsRanking' | translate}}

@@ -101,16 +101,18 @@

{{'teamsRanking' | translate}}

-
+

{{'competitorsRanking' | translate}}

- - - - - +
+ + + + + +
{{'competitorsRanking' | translate}} [title]="('hitsByTournament' | translate)" [width]="400"> -
+
stars

{{'achievements' | translate}}

diff --git a/frontend/src/app/views/tournament-statistics/tournament-statistics.component.scss b/frontend/src/app/views/tournament-statistics/tournament-statistics.component.scss index 044537a81..3c69b82e0 100644 --- a/frontend/src/app/views/tournament-statistics/tournament-statistics.component.scss +++ b/frontend/src/app/views/tournament-statistics/tournament-statistics.component.scss @@ -55,7 +55,7 @@ display: flex; justify-content: center; width: 100%; - margin-bottom: -20px; + margin-bottom: -10px; } .statistics-table-title > h3 {