Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Zooming in over axis does not reset y-axis ticks back to initial limits

オープン
#798 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
chart.js, javascript
領域
frontend

調査の方向性

リンクされたCodePenから始め、x軸とy軸に対する4段階のズームを再現してください。軸のズームと範囲のリセットに関するpluginのエントリーポイントを追跡し、なぜy軸が初期の目盛りに戻れないのかを特定してください。報告されたシーケンスの後にy軸をズームアウトすると、最初に設定された目盛りが復元されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
Current behavior

Ticks are not reset while zooming in/out over the axis. See "Optional extra steps/info to reproduce" for a better understanding.
img__1
img__2

Optional extra steps/info to reproduce

Use the codepen mentioned below.

  1. Zoom in with the cursor over "2022-09" on the x-axis until the ticks on the y-axis change.
  2. Put the cursor on the y-axis and zoom in, it does not matter how much.
  3. Put the cursor over the x-axis and zoom out completely.
  4. Put the cursor over the y-axis and try to zoom out as much as possible.
    -> It's not possible to zoom out over the y-axis until you get the initally set ticks.
Expected behavior

It is possible to zoom out until you get the initially set ticks.

Reproducible sample

See this codepen.

主要言語
JavaScript
スター
622
フォーク
331
平均マージ
1日 22時間
マージ済み PR(30日)
18

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

chartjs/chartjs-plugin-zoom のほかの issue

chartjs/chartjs-plugin-zoom の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。