[FEATURE]: Allow annotations for scatterternary to reference ternary axes (a,b,c) instead of (x,y)

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

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

評価

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

調査の方向性

まず、plotly.js における scatterternary の annotation 処理と annotation 宣言の経路を特定します。現在 annotation の位置で x と y がどのように使用されているかを確認し、そのうえで、このプロットタイプにおいて a、b、c の座標をどのように解釈すべきかを判断します。annotation が直交座標への変換を必要とせずに三元軸の位置を受け入れられ、要求された例を対象とするカバレッジがある状態を完了とします。

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

説明

enhancement feature P2 size: 3

Hi,

Description

For scatterternary plots, it would great if we could specify the annotation positions relative to the a,b, c axes instead of x and y.

Why should this feature be added?

Currently, we have to convert the annotations a,b, c positions into (arbitrary for this plot type) cartesian coordinate space; it would be easier (and be more logical) to be able to use a,b, c in the annotation declaration, e.g:

annotations: [
  {
    //x: 0.1,
    //y: 0.135,
    a: 10,
    b: 70,
    c: 20,
    text: "my text"
  }
]

Many thanks

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

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

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

はじめの一歩

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

plotly/plotly.js のほかの issue

plotly/plotly.js の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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