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

Get the chart instance

未关闭
#81 8 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
138
派生
76
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。