Skip to content

Conversation

Rahix
Copy link
Contributor

@Rahix Rahix commented Aug 25, 2025

When receiving only a single column of data, no graph would ever show up.

This was due to the graph display data structure only being initialized when the number of datasets changes. However, the dataset attribute is populated with one entry by default, so when receiving a single column of data, the graph initialization never happens.

Fix this by initializing the dataset structure to be empty by default.

This bug was introduced in PR #119.

When receiving only a single column of data, no graph would ever show
up.

This was due to the graph display data structure only being
initialized when the number of datasets changes.  However, the dataset
attribute is populated with one entry by default, so when receiving a
single column of data, the graph initialization never happens.

Fix this by initializing the dataset structure to be empty by default.

This bug was introduced in PR hacknus#119.

Fixes: hacknus#119
@hacknus hacknus merged commit ecce378 into hacknus:main Aug 26, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants