From 05bedd5390c0f0f3e9a253b708b6e9a7e3d15342 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Sun, 30 Jul 2017 16:31:55 +0200 Subject: [PATCH] Remove chart select methods --- package.json | 2 +- static/src/app/statistic/statistic.component.html | 3 +-- static/src/app/statistic/statistic.component.ts | 4 ---- static/src/app/wars/war-detail.component.html | 3 +-- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index dfa8863..dd81bac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opt-cc", - "version": "1.1.3", + "version": "1.2.1", "license": "MIT", "private": true, "scripts": { diff --git a/static/src/app/statistic/statistic.component.html b/static/src/app/statistic/statistic.component.html index dd6b180..ecbb758 100644 --- a/static/src/app/statistic/statistic.component.html +++ b/static/src/app/statistic/statistic.component.html @@ -15,8 +15,7 @@ [showYAxisLabel]="true" [xAxisLabel]="'Schlachtdatum'" [yAxisLabel]="'Punkte'" - [autoScale]="false" - (select)="onSelect($event)"> + [autoScale]="false"> diff --git a/static/src/app/statistic/statistic.component.ts b/static/src/app/statistic/statistic.component.ts index 186a6b9..ae3d3a6 100644 --- a/static/src/app/statistic/statistic.component.ts +++ b/static/src/app/statistic/statistic.component.ts @@ -85,8 +85,4 @@ export class StatisticComponent { Object.assign(this, [this.playerData, this.pointData]) } - onSelect(event) { - console.log(event); - } - } diff --git a/static/src/app/wars/war-detail.component.html b/static/src/app/wars/war-detail.component.html index fb4ed68..31cde82 100644 --- a/static/src/app/wars/war-detail.component.html +++ b/static/src/app/wars/war-detail.component.html @@ -19,8 +19,7 @@ [explodeSlices]="false" [labels]="false" [doughnut]="false" - [gradient]="false" - (select)="onSelect($event)"> + [gradient]="false">