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 { CustomEventEventsComponent } from './pages/custom-event/custom-event-events/custom-event-events.component';
|
||||
import {NgxMaskDirective, NgxMaskPipe, provideNgxMask} from "ngx-mask";
|
||||
import {CountUpModule} from "ngx-countup";
|
||||
import { PlayerSquadsComponent } from './pages/player-squads/player-squads.component';
|
||||
import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-modal.component';
|
||||
import {CommonModule} from "@angular/common";
|
||||
import {CountUpDirective} from "ngx-countup";
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@ -126,6 +127,7 @@ import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-mo
|
||||
SquadEditModalComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
BrowserModule,
|
||||
AppRoutingModule,
|
||||
BrowserAnimationsModule,
|
||||
@ -146,7 +148,7 @@ import { SquadEditModalComponent } from './modals/squad-edit-modal/squad-edit-mo
|
||||
AgCharts,
|
||||
NgxMaskDirective,
|
||||
NgxMaskPipe,
|
||||
CountUpModule
|
||||
CountUpDirective
|
||||
],
|
||||
providers: [
|
||||
provideNgxMask(),
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
}
|
||||
|
||||
.api-key-input-group {
|
||||
max-width: 420px; // Begrenzung der Breite des Input-Feldes
|
||||
max-width: 420px;
|
||||
}
|
||||
|
||||
.api-key-input {
|
||||
|
||||
@ -25,9 +25,7 @@ export class PlayerInfoVsDuelComponent {
|
||||
|
||||
|
||||
options: AgChartOptions = {
|
||||
title: {
|
||||
text: 'Weekly Points'
|
||||
},
|
||||
title: { text: 'Weekly Points' },
|
||||
data: [],
|
||||
series: [
|
||||
{
|
||||
@ -40,22 +38,21 @@ export class PlayerInfoVsDuelComponent {
|
||||
fill: 'blue'
|
||||
}
|
||||
],
|
||||
axes: [
|
||||
{
|
||||
axes: {
|
||||
y: {
|
||||
type: 'number',
|
||||
position: 'left',
|
||||
label: {
|
||||
formatter: (params: any) => {
|
||||
return params.value.toLocaleString('en-US')
|
||||
}
|
||||
}
|
||||
formatter: (params: any) => params.value.toLocaleString('en-US'),
|
||||
},
|
||||
{
|
||||
},
|
||||
x: {
|
||||
type: 'category',
|
||||
position: 'bottom',
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
getData(take: number) {
|
||||
const chartData: {date: string, points: number}[] = [];
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
import { provideZoneChangeDetection } from "@angular/core";
|
||||
/// <reference types="@angular/localize" />
|
||||
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
|
||||
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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user