Open namanpatel6 opened 5 years ago
Up! Same problem here!
Framework: Angular 5 @swimlane/ngx-charts": "^7.0.1
HTML File: ` <ngx-charts-polar-chart [view]="view" [scheme]="colorScheme" [legend]="legend" [showXAxisLabel]="showXAxisLabel" [showYAxisLabel]="showYAxisLabel" [xAxis]="xAxis" [yAxis]="yAxis" [xAxisLabel]="xAxisLabel" [yAxisLabel]="yAxisLabel" [results]="multi" (select)="onChartSelect($event)"
TS file:
onChartSelect(event) { console.log(event); }`
I'm submitting a ... (check one with "x")
ngx-charts
tag) or the gitter chat for support questionsCurrent behavior An ngx chart fires an 'onSelect' event when a data point is selected. The radar chart is not exhibiting this behavior despite the event being documented in the official documentation.
Expected behavior radar chart should fire 'onSelect' event on selecting a data point.
What is the motivation / use case for changing the behavior? To execute custom logic when a data point is selected
Please tell us about your environment: Windows 10, angular, ngx-charts dependency
ngx-charts version: x.x.x ngx-chart version 10.0.0
Angular version: x.x.x Angular version 7.2.1
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web All major browsers
Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript