FlowFuse / FlowFuse/node-red-dashboard

UI Chart - Ensure consistency in mapping chart series to colours

Open
#1,066 24 comments 1 reaction 0 assignees View on GitHub
size:M type:feature
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 20h
Merged PRs (30d)
24

Description

### Description

When assigning colours to bars/lines on a chart, we assign the first message to the first colour, etc...

Sometimes though, users want a topic to be a specific colour, even though it is not known in which order they arrive. We should provide a way of defining colour:series mapping

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the UI Chart code that assigns colours to incoming series; the issue does not name a file, entry point, or test. Define how a user-supplied colour-to-series mapping should behave when series arrive in different orders, then verify that bars and lines consistently use the configured colours.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
data-visualization, frontend
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.