Remove chart select methods
parent
19248f38a0
commit
05bedd5390
|
@ -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": {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue