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

Get the chart instance

Open
#81 8 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
138
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.