plotly / plotly/plotly.js

enable hover-like syntax for changing ticktext

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

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

feature P3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

I'd like to be able to reformat tick text after it's be generated.

This is so, along with hovertext, I can change the perceived units of a graph without having to actually change all the data.

Willing to implement it myself next week, of course, along with all other changes/suggestions I've posted.

I thought of original solution but thought it better to ask in case there is something we can steal from hovertext?

I think we should just catch the tick text right before it's rendered.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず ticktext がどのように生成され、レンダリングされるかを追跡し、その経路を既存の hovertext の処理と比較します。基になるデータを変更せずに、生成された目盛りラベルを再フォーマットするために必要な API とレンダリング箇所を定義します。目盛りのフォーマットによって認識される単位を変更でき、グラフのデータは変更されない状態になれば完了です。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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