Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best strategy for showing very long legends? #289

Open
NicolasPerl opened this issue Jun 20, 2018 · 2 comments
Open

Best strategy for showing very long legends? #289

NicolasPerl opened this issue Jun 20, 2018 · 2 comments

Comments

@NicolasPerl
Copy link

When my data set gets too large for the container the legend simply stops. Is there a way to have the legend scrollable? Or perhaps another strategy to include the full legend in the specified container? The objective is to be able to visualize all categories in the legend.

@andrewxu10
Copy link

did you ever figure this out? My legend is getting cut off despite setting larger and larger dimensions for the legend

@Rolok
Copy link

Rolok commented Oct 30, 2018

I've done a fair bit of searching. I don't know how to go about it with dimple. However, take a look at these two links. I think you should be able to leverage the jsfiddle code to get what you want.
http://jsfiddle.net/ramseyfeng/80afu8kc/

This has equivalent functionality, but it is using dc.js Check out the examples page for some cool things.
http://dc-js.github.io/dc.js/examples/html-legend.html

At one point, I had a chart that was displaying hundreds of lines. It just wasn't practical. I changed it to just show the items above a certain threshold. The rest were really noise anyway.

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

No branches or pull requests

3 participants