opt-cc/static/src/app/statistic/campaign/campaign-player-detail/campaign-player-detail.comp...

67 lines
2.0 KiB
HTML
Raw Normal View History

2017-11-13 15:45:12 +01:00
<div class="fade-in player-campaign-detail-container" xmlns="http://www.w3.org/1999/html">
<h2 class="pull-left">Kampagnendetails - {{campaignPlayer.name}}</h2>
2017-10-02 14:41:17 +02:00
<button class="btn-back" mat-raised-button (click)="navigateBack()">
<mat-icon svgIcon="chevron-left"></mat-icon>
Zurück
</button>
2017-10-02 18:10:57 +02:00
2017-10-02 17:09:30 +02:00
<div class="sum-container">
<div class="gauge-container pull-left">
<ngx-charts-linear-gauge
[view]="[200, 100]"
[scheme]="colorScheme"
[value]="kdRatio"
[previousValue]="1"
[max]="maxKd"
[min]="0"
[units]="'Kill/Death'">
</ngx-charts-linear-gauge>
2017-10-02 18:10:57 +02:00
<span style="height: 150px; display: block;"></span>
2017-10-02 17:09:30 +02:00
<ngx-charts-linear-gauge
[view]="[200, 100]"
[scheme]="colorScheme"
[value]="respawnDeathRatio"
[previousValue]="0.5"
2017-10-02 20:03:42 +02:00
[max]="maxRespawnDeathRatio"
2017-10-02 17:09:30 +02:00
[min]="0"
[units]="'Respawn/Death'">
</ngx-charts-linear-gauge>
</div>
<div class="sum-bar-container pull-left">
<ngx-charts-bar-horizontal
[scheme]="colorSchemeBar"
[results]="sumData"
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[showXAxisLabel]="showXAxisLabel"
[showYAxisLabel]="showYAxisLabel">
</ngx-charts-bar-horizontal>
</div>
</div>
<div class="charts-parent">
<div class="chart-container" *ngFor="let category of graphData">
2017-10-02 17:09:30 +02:00
<ngx-charts-line-chart
[results]="category.data"
2017-10-02 17:09:30 +02:00
[showRefLines]="showRefLines"
[showRefLabels]="showRefLabels"
[referenceLines]="category.refLine"
2017-10-02 17:09:30 +02:00
[scheme]="colorScheme"
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[legend]="legend"
[showXAxisLabel]="showXAxisLabel"
[showYAxisLabel]="showYAxisLabel"
[yAxisLabel]="category.label"
2017-10-02 17:09:30 +02:00
[autoScale]="autoscale"
[timeline]="timeline"
[roundDomains]="roundDomains">
</ngx-charts-line-chart>
</div>
</div>
</div>