diff --git a/static/src/app/statistic/overview/stats-overview.component.ts b/static/src/app/statistic/overview/stats-overview.component.ts
index a5395a1..e39ccdc 100644
--- a/static/src/app/statistic/overview/stats-overview.component.ts
+++ b/static/src/app/statistic/overview/stats-overview.component.ts
@@ -97,7 +97,6 @@ export class StatisticOverviewComponent {
break;
}
this.activeSlideIndex = index;
-
}
initChart(wars: any[]) {
diff --git a/static/src/app/statistic/stats.module.ts b/static/src/app/statistic/stats.module.ts
index 8311f4e..2cd250a 100644
--- a/static/src/app/statistic/stats.module.ts
+++ b/static/src/app/statistic/stats.module.ts
@@ -4,7 +4,7 @@ import {SharedModule} from "../shared.module";
import {statsRouterModule, statsRoutingComponents} from "./stats.routing";
import {WarService} from "../services/logs/war.service";
import {NgxChartsModule} from "@swimlane/ngx-charts";
-import {AccordionModule, TabsModule} from "ngx-bootstrap";
+import {AccordionModule, ButtonsModule, TabsModule} from "ngx-bootstrap";
import {CampaignService} from "../services/logs/campaign.service";
import {NgxDatatableModule} from "@swimlane/ngx-datatable";
import {PlayerService} from "../services/logs/player.service";
@@ -13,7 +13,7 @@ import {LogsService} from "../services/logs/logs.service";
@NgModule({
declarations: statsRoutingComponents,
imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule,
- AccordionModule.forRoot(), TabsModule.forRoot(), NgxDatatableModule],
+ AccordionModule.forRoot(), ButtonsModule.forRoot(), TabsModule.forRoot(), NgxDatatableModule],
providers: [WarService, CampaignService, PlayerService, LogsService]
})
export class StatsModule {
diff --git a/static/src/app/statistic/war-detail/war-detail.component.css b/static/src/app/statistic/war-detail/war-detail.component.css
index 00eaf09..e1739d3 100644
--- a/static/src/app/statistic/war-detail/war-detail.component.css
+++ b/static/src/app/statistic/war-detail/war-detail.component.css
@@ -42,19 +42,10 @@
color: blue;
}
-.chart-container {
- width: 90%;
- margin: 2%;
- min-width: 900px;
- height: 400px;
- padding: 15px;
- float: left;
-}
-
/* ########### TABS ########### */
:host /deep/ .nav-tabs {
- padding-left: 35%!important;
+ padding-left: 35% !important;
}
:host /deep/ .nav-link {
@@ -67,7 +58,7 @@
color: #000;
}
-:host /deep/ .nav-tabs>li.active>a{
+:host /deep/ .nav-tabs > li.active > a {
background: #222222;
color: white;
}
@@ -107,3 +98,21 @@
background-color: #f7f7f7;
}
+/* ########### CHART-TAB ######## */
+
+.chart-container {
+ width: 90%;
+ margin: 2%;
+ min-width: 900px;
+ height: 600px;
+ padding: 15px;
+ float: left;
+}
+
+.chart-select-group {
+ width: 50%;
+ margin: auto;
+ position: inherit;
+ display: block;
+ vertical-align: middle;
+}
diff --git a/static/src/app/statistic/war-detail/war-detail.component.html b/static/src/app/statistic/war-detail/war-detail.component.html
index 60f28d9..0d253cd 100644
--- a/static/src/app/statistic/war-detail/war-detail.component.html
+++ b/static/src/app/statistic/war-detail/war-detail.component.html
@@ -94,10 +94,22 @@
Fraktionen