legends are not wrapped correctly

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

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

評価

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

調査の方向性

ソースファイルやテストは指定されていません。まず、添付された gggrid の複数凡例のオーバーフロー例を再現し、grid と single-plot の両方のケースで、複数の凡例に対する凡例レイアウトの経路を追跡してください。2 つの凡例しかないケースも含め、すべての凡例が表示され、折り返されるか、より大きな canvas に収まるようになれば完了です。

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

説明

When there are multiple legends, lets-plot have hard time to fit them into to canvas. I have an example below to demonstrate the problem. This one is with gggrid but I happened to encounter the problem with single plots when there are multiple legends, I can provide examples if needed.

Here is the multi-legend overflow example. There should be 7 legends shown, but only 3 (2 of them partially) appear. I am aware that this is an extreme case, but this can happen with even two legends.

Image

Note that: I highlighted the plot borders (red), legend borders (blue) and grid border gray!

I believe legends should wrap automatically (may be in a grid format) and/or the canvas should grow to fit all the legends.

主要言語
Kotlin
スター
1.8k
フォーク
63
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

JetBrains/lets-plot のほかの issue

JetBrains/lets-plot の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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