-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Html legend #577
Html legend #577
Conversation
Anyone want to review this pull request? |
Hi, I took a quick look and it seems like a good idea. Sorry for the slow turnaround, I have other deadlines and as you can see I've only had time to merge the most trivial PRs. I hope my schedule is opening up soon. My only concern about this approach in general is that it doubles the amount of code which needs to be fixed when we find problems or want to upgrade legends. But I don't think that's a blocker. |
I intent to keep the HTML legend up to date, as well as continue to add new On Mon, Apr 28, 2014 at 1:47 PM, Gordon Woodhull
Dave Long (203) 626-1809 |
I also think that building responsive charts will always be incredibly difficult without using HTML for the legends. |
Cool! Can I get your feedback on a few things? I'm trying to understand the big picture here. (Note: I'm not the author of dc.js, just the most active maintainer at the moment.)
Thanks! |
|
I strongly feel that HTML legend make more sense and it in-fact make life much easy atleast in the following cases Issue, Issue: Case-1: huge list of items (see image 1 in our application - summarize data of 300K records since we couldn't show the complete list we added
Case-2: Add advance features:
Case-3: Customize (see the google map image)
|
Merged via #1392 for 3.0.0 |
Adds a basic HTML legend mixin. For now it only supports vertical legends, but I'll be adding options similar to the
dc.legend
mixin.