neo4j-labs / neodash

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

Feature - customize pie chart legend #762

Open jacobbleakley-neo4j opened 7 months ago

jacobbleakley-neo4j commented 7 months ago

Added vertical and horizontal legend setting which sets legend to the right or to the bottom.

jacobbleakley-neo4j commented 7 months ago

Still needs documentation updated

sonarcloud[bot] commented 7 months ago

Quality Gate Failed Quality Gate failed

Failed conditions

7.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

nielsdejong commented 6 months ago

@jacobbleakley-neo4j Code looks good, I added docs and did some small style fixes. It seems however that the legend isn't working properly.

I created a simple report:

UNWIND range(1,7) as X
RETURN 'a'+X as cat,rand() as nbr

And toggled 'show legend' to on. Nothing shows on the screen however with these default settings: image

Can you take a look?