rollback fract graphs to standard curve

pull/16/head
HardiReady 2017-11-02 11:20:11 +01:00
parent b7a0c47b32
commit b79ccbb1af
2 changed files with 0 additions and 10 deletions

View File

@ -136,7 +136,6 @@
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[curve]="monotoneYCurve"
[legend]="legend"
[legendTitle]="legendTitle"
[showXAxisLabel]="showXAxisLabel"
@ -154,7 +153,6 @@
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[curve]="monotoneYCurve"
[legend]="legend"
[legendTitle]="legendTitle"
[showXAxisLabel]="showXAxisLabel"
@ -172,7 +170,6 @@
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[curve]="monotoneYCurve"
[legend]="legend"
[legendTitle]="legendTitle"
[showXAxisLabel]="showXAxisLabel"
@ -190,7 +187,6 @@
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[curve]="monotoneYCurve"
[legend]="legend"
[legendTitle]="legendTitle"
[showXAxisLabel]="showXAxisLabel"
@ -208,7 +204,6 @@
[gradient]="gradient"
[xAxis]="xAxis"
[yAxis]="yAxis"
[curve]="monotoneYCurve"
[legend]="legend"
[legendTitle]="legendTitle"
[showXAxisLabel]="showXAxisLabel"

View File

@ -66,7 +66,6 @@ export class WarDetailComponent {
yAxisLabelStabilize = 'Stabilisiert';
yAxisLabelFlag = 'Flaggenbesitz';
monotoneYCurve = d3.curveMonotoneY;
stepCurve = d3.curveStepAfter;
gradient = false;
yAxis = true;
@ -354,8 +353,6 @@ export class WarDetailComponent {
[this.tmpPointData, this.tmpBudgetData, this.tmpTransportData, this.tmpReviveData, this.tmpStabilizeData,
this.tmpKillData, this.tmpFrienlyFireData, this.tmpFlagCaptureData].forEach(tmp => {
for (let j in [0, 1]) {
console.log(new Date(tmp[j].series[tmp[j].series.length - 1].name) + '... ' + endDate)
console.log(new Date(tmp[j].series[tmp[j].series.length - 1].name) < endDate)
if (new Date(tmp[j].series[tmp[j].series.length - 1].name) < endDate) {
tmp[j].series.push({
'name': endDate,
@ -365,8 +362,6 @@ export class WarDetailComponent {
}
}
});
// console.log(this.tmpKillData[0].series[this.tmpKillData[0].series.length-1])
// console.log(this.tmpKillData[1].series[this.tmpKillData[1].series.length-1])
this.pointData = this.tmpPointData;
this.budgetData = this.tmpBudgetData;
this.transportData = this.tmpTransportData;