FlowFuse / FlowFuse/node-red-dashboard

Bar chart append mode series ordered randomly

Open
#943 6 comments 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

I'm using the simplest mode bar chart with no special setup. Just a bar chart with `append` mode using `topic` to identify series. Works great but seems that series are ordered by the order in which they arrive which makes the graph non-deterministic when showing multiple bars.

### Expected Behavior

I'd expect the bars (series) in `append` mode to be ordered by `msg.topic`.

### Steps To Reproduce

Create a bar chart, set to append mode by topic. Inject `topic2` then `topic1`, the series will be displayed as received. Restart everything, inject in different order, bar chart changes order of the bars.

### Environment

- Dashboard version: 1.11.1

### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.