mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 09:12:20 +00:00
fix
This commit is contained in:
parent
27ea4cf182
commit
b04ad8c9b3
@ -65,9 +65,10 @@ import { CustomEventCategoryComponent } from './pages/custom-event/custom-event-
|
|||||||
import { CustomEventLeaderboardComponent } from './pages/custom-event/custom-event-leaderboard/custom-event-leaderboard.component';
|
import { CustomEventLeaderboardComponent } from './pages/custom-event/custom-event-leaderboard/custom-event-leaderboard.component';
|
||||||
import { CustomEventEventsComponent } from './pages/custom-event/custom-event-events/custom-event-events.component';
|
import { CustomEventEventsComponent } from './pages/custom-event/custom-event-events/custom-event-events.component';
|
||||||
import {NgxMaskDirective, NgxMaskPipe, provideNgxMask} from "ngx-mask";
|
import {NgxMaskDirective, NgxMaskPipe, provideNgxMask} from "ngx-mask";
|
||||||
import {CountUpModule} from "ngx-countup";
|
|
||||||
import { PlayerSquadsComponent } from './pages/player-squads/player-squads.component';
|
import { PlayerSquadsComponent } from './pages/player-squads/player-squads.component';
|
||||||
import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-modal.component';
|
import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-modal.component';
|
||||||
|
import {CommonModule} from "@angular/common";
|
||||||
|
import {CountUpDirective} from "ngx-countup";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
@ -126,6 +127,7 @@ import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-mo
|
|||||||
SquadEditModalComponent
|
SquadEditModalComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
|
CommonModule,
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
@ -146,7 +148,7 @@ import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-mo
|
|||||||
AgCharts,
|
AgCharts,
|
||||||
NgxMaskDirective,
|
NgxMaskDirective,
|
||||||
NgxMaskPipe,
|
NgxMaskPipe,
|
||||||
CountUpModule
|
CountUpDirective
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
provideNgxMask(),
|
provideNgxMask(),
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.api-key-input-group {
|
.api-key-input-group {
|
||||||
max-width: 420px; // Begrenzung der Breite des Input-Feldes
|
max-width: 420px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.api-key-input {
|
.api-key-input {
|
||||||
|
|||||||
@ -25,9 +25,7 @@ export class PlayerInfoVsDuelComponent {
|
|||||||
|
|
||||||
|
|
||||||
options: AgChartOptions = {
|
options: AgChartOptions = {
|
||||||
title: {
|
title: { text: 'Weekly Points' },
|
||||||
text: 'Weekly Points'
|
|
||||||
},
|
|
||||||
data: [],
|
data: [],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
@ -40,22 +38,21 @@ export class PlayerInfoVsDuelComponent {
|
|||||||
fill: 'blue'
|
fill: 'blue'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
axes: [
|
axes: {
|
||||||
{
|
y: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
position: 'left',
|
position: 'left',
|
||||||
label: {
|
label: {
|
||||||
formatter: (params: any) => {
|
formatter: (params: any) => params.value.toLocaleString('en-US'),
|
||||||
return params.value.toLocaleString('en-US')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
},
|
||||||
|
x: {
|
||||||
type: 'category',
|
type: 'category',
|
||||||
position: 'bottom',
|
position: 'bottom',
|
||||||
}
|
},
|
||||||
]
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
getData(take: number) {
|
getData(take: number) {
|
||||||
const chartData: {date: string, points: number}[] = [];
|
const chartData: {date: string, points: number}[] = [];
|
||||||
|
|||||||
@ -1,10 +1,14 @@
|
|||||||
import { provideZoneChangeDetection } from "@angular/core";
|
import { provideZoneChangeDetection } from "@angular/core";
|
||||||
/// <reference types="@angular/localize" />
|
|
||||||
|
|
||||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||||
|
|
||||||
import { AppModule } from './app/app.module';
|
import { AppModule } from './app/app.module';
|
||||||
|
|
||||||
|
|
||||||
platformBrowserDynamic().bootstrapModule(AppModule, { applicationProviders: [provideZoneChangeDetection()], })
|
import { ModuleRegistry, AllCommunityModule } from 'ag-charts-community';
|
||||||
|
ModuleRegistry.registerModules([AllCommunityModule]);
|
||||||
|
|
||||||
|
platformBrowserDynamic()
|
||||||
|
.bootstrapModule(AppModule, {
|
||||||
|
applicationProviders: [provideZoneChangeDetection()],
|
||||||
|
})
|
||||||
.catch(err => console.error(err));
|
.catch(err => console.error(err));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user