leeoniya / leeoniya/uPlot

Dash legend marker per series

Open
#601 6 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

Is it possible to define borderStyle in the legend per every series separately?

Also, it might be worth to consider using dotted border style for every series which has dashed property defined on it.

In the end, my goal is to have legend markers similar to my custom styled tooltip:
image

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 tracing how the legend markers are generated and how each series exposes its borderStyle or dashed settings; the issue does not name a file or test. Done means legend markers can reflect per-series border styles, including the proposed dotted treatment for dashed series, and match the requested custom tooltip appearance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.