Commit 0209143
committed
Fix single column graph display
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.
Fixes: #1191 parent 6727350 commit 0209143
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments