plotly / plotly/angular-plotly.js
plotlyClick event doesnt work
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 242
- フォーク
- 81
- 平均マージ
- 8時間 48分
- マージ済み PR(30日)
- 18
説明
Below is in my angular.ts file
<plotly-plot [data]="_traces" [config]="_config" [layout]="_layout"
(plotlyClick)="onClick($event)"
></plotly-plot>
TS Code :
onClick(event:any){
console.log(event)
}
Not sure why the above code doesn't work,
My end goal is to get the clicked x-axis label in a horizontal bar chart, I am trying with different approaches but didn't work, so just putting this simple code as I am not sure if its possible to implement this feature
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue に示されている Angular template と angular.ts handler から始め、次に plotlyClick に関する angular-plotly.js のイベントバインディングのドキュメントと例を確認してください。handler が水平棒グラフの click event を受け取るかどうか、またその event にクリックされた x-axis label が含まれているかどうかを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100