neo4j-labs / neodash

NeoDash - a Dashboard Builder for Neo4j
https://neo4j.com/labs/neodash/
Apache License 2.0
408 stars 135 forks source link

Bar Chart not showing the correct values #735

Open alfredorubin96 opened 8 months ago

alfredorubin96 commented 8 months ago

UNWIND [ {week:'w2', value:3.2, name:'v15 - 21'}, {week:'w1', value:1.2, name:'v15 - 22'}, {week:'w1', value:5.2, name:'v15 - 22'} ] as row RETURN row.week, row.value, row.name

We got this bug using grouping mode grouped .

Here a screenshot Screenshot 2023-12-13 at 17 59 32

nielsdejong commented 8 months ago

image interestingly I get a different result when running this one.

Maybe your example is incorrect?

{week:'w1', value:5.2, name:'v15 - 22'} 

Should maybe be this one?

{week:'w2, value:5.2, name:'v15 - 22'} 

Otherwise you have two identical week+name pairs, and it makes sense that the visualization cannot handle it. Does that make sense @alfredorubin96 ?