adopted-ember-addons / adopted-ember-addons/ember-cli-chart

Get the chart instance

Aperta
#81 8 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
138
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I try to get the Chart instance to be able to use the `getElementAtEvent()` method. I have this :
```
onClick: (event, chartElements) => {
this.handleChartClick(event, chartElements);
}
```
And I want to access my Chart instance in my `handleChartClick`method, how can I do that ? The final purpose is to listen on click in axis labels and get their value.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.