add something like series.order
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
it's useful to have legend order differ from data order and rendering order (zindex).
when rendering, points should be in front of filled bars and those should be in front of line-areas.
legend/tooltip could be made dynamic based on some property like Last value, or other stat.
also some series maybe should be hidden from legend or graph (or tooltip).
maybe
series.order = {
legend: 1,
plot: null, // auto or data order?
tooltip: -1, // hide?
};
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing series configuration and tracing how series order is used during rendering, legend generation, and tooltip generation. Define the intended behavior for independent legend, plot, and tooltip ordering, including dynamic ordering and hiding, before identifying the affected entry points and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100