neodash
neodash copied to clipboard
Bar Chart: Display without grouping is confusing
Hello again,
This may be a feature rather than a bug, but it confused me for quite some time, so I'll share it anyway:
If I have a bar chart, in my case a timeline with one bar for each hour, and I select a variable to group by, it looks good.
If I do not group by any variable, I only get the data that was marked in yellow in the graphic above.
Why? What I would expect to see is either
- nothing at all
- a notice that I need to select something to group by
- the dashboard somehow magically knowing that "connected router" is the variable to generally group by, and then displaying the sum over that variable as one large bar without differentiating into different colours.
Further comment: Actually, the display is not always good when grouping is on. Especially when I have such a timeline, I have 24 rows per Connected_Router. The Bar chart seems to cut off everything after 100 rows, which means the chart will be incomplete in a lot of cases. Can the cut-off value be changed? With most of my use cases, cutting it off when the table display would also be cut off (1000 rows) would be fine, but in some cases, I need even more rows to go into the chart.
Hi @JoridK ,
Good points! I completely agree with your third point that this should be the expected behaviour: the dashboard somehow magically knowing that "connected router" is the variable to generally group by, and then displaying the sum over that variable as one large bar without differentiating into different colours.
This is something I can look into for the next release, thanks for pointing this out.
The cut off points are currently hardcoded as to avoid browser crashes, but I guess the 100 value for the bar chart is a bit on the conservative side. I think pushing it up to 1000 shouldn't create too many issues. Let me fix that for the next release also.
Thanks for all your feedback so far. Please keep them coming as it helps me improve NeoDash!
Niels