Remove chart select methods

pull/4/head
Florian Hartwich 2017-07-30 16:31:55 +02:00
parent 19248f38a0
commit 05bedd5390
4 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "opt-cc", "name": "opt-cc",
"version": "1.1.3", "version": "1.2.1",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -15,8 +15,7 @@
[showYAxisLabel]="true" [showYAxisLabel]="true"
[xAxisLabel]="'Schlachtdatum'" [xAxisLabel]="'Schlachtdatum'"
[yAxisLabel]="'Punkte'" [yAxisLabel]="'Punkte'"
[autoScale]="false" [autoScale]="false">
(select)="onSelect($event)">
</ngx-charts-line-chart> </ngx-charts-line-chart>
</div> </div>

View File

@ -85,8 +85,4 @@ export class StatisticComponent {
Object.assign(this, [this.playerData, this.pointData]) Object.assign(this, [this.playerData, this.pointData])
} }
onSelect(event) {
console.log(event);
}
} }

View File

@ -19,8 +19,7 @@
[explodeSlices]="false" [explodeSlices]="false"
[labels]="false" [labels]="false"
[doughnut]="false" [doughnut]="false"
[gradient]="false" [gradient]="false">
(select)="onSelect($event)">
</ngx-charts-pie-chart> </ngx-charts-pie-chart>
</h3> </h3>