epezent / epezent/implot

[Feature] Wrap the legend across multiple lines

Open
#713 0 comments 0 reactions 0 assignees View on GitHub
prio:medium status:idea type:feat
Dominant language
C++
Stars
6.2k
Forks
693
PR merge metrics
No merged PRs in 30d

Description

**Feature description**
When a lot of plots are on the same graph, the legend becomes extremely wide, it would be nice to be able to have this wrap across more lines.

**Feature videos/screenshots**

We are using this as part of the open source Looking Glass project to graph the different stages of the capture and render pipeline to make it easy to diagnose regressions.

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files or tests. Start by locating the legend layout and rendering entry points in ImPlot, then reproduce the problem with many plots and compare the current single-line legend with a wrapped layout. Done means legends can occupy multiple lines without making a graph excessively wide.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.