Scriptable yAdjust and chartjs-plugin-zoom
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
yAdjust と chartjs-plugin-zoom の間の相互作用を再現し、続いて src/elements.js の 93-104 行付近と、レポートで言及されている resolver override を調べます。どのラベル座標が Scriptable 関数に到達するかを追跡し、それらを definition.properties からズーム後に記録された値と比較します。完了条件は、関数がズームされたラベル位置に対応する座標にアクセスできることです。
索引モデルが issue の本文から書いたものです。
説明
I am using yAdjust to avoid line labels from overlapping, and this is working well until I enable the zoom plugin.
The issue I am running in to is that the Scriptable function is receiving the label's position before the zoom not after. I added console.log(definition.properties); to this part of the code, and it is the x, y value that I need access to.. but this doesn't match the x,y value in to the function context.element.label.x and context.element.label.y
Is there any way to get access to this value? I see it looks like it is overriding the label on the resolver here? but I can't figure out how to get this value... resolver[definition.optionScope].override(definition);
- 主要言語
- JavaScript
- スター
- 625
- フォーク
- 377
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chartjs/chartjs-plugin-annotation のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
TypeScript type issues対応中かも @joshkel が 460 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
chartjs/chartjs-plugin-annotation の issue をすべて見る
似ている issue
-
step.duration reflects only the last retry attempt (HelperStep.run() overwrites startTime)対応中かも @mirao が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeceptjs/CodeceptJS#5774 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Status: Unconfirmed
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AllTheMods/ATM10-Aeronautics#151 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
feimacode/open-design-agent-kit#66 ·
メンテナーはふだん 1 日以内に返信