leeoniya / leeoniya/uPlot

add option to show shared x value as `<caption>` in legend

Open
#581 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
10.5k
Forks
463
PR merge metrics
No merged PRs in 30d

Description

for table layout legends, the repeated x (often time) in the first column is not great. instead it can be rendered as a table header at the top, in the empty top-left <th>, or using rowspan=0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the table-layout legend rendering in the JavaScript source and trace how the repeated x value is currently added to the first column. Define the option so the shared x value can instead appear as a caption or table header in the empty top-left cell, or via rowspan=0. Done means the selected rendering works without repeating the x value in every row.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.