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

Legend #12

Open
Timopheym opened this issue May 12, 2014 · 3 comments
Open

Legend #12

Timopheym opened this issue May 12, 2014 · 3 comments

Comments

@Timopheym
Copy link

A lot of Chart's libraries have Legend's. D4 is very light and tricky, but may be it's a good idea to have a feature with a legend that can be mixed in, when it needed?
screen shot 2014-05-12 at 8 42 40 pm

@heavysixer
Copy link
Owner

+1

@jefffriesen
Copy link
Contributor

+1
I was just looking to see if this legend was a mixin but didn't find it. It's nice and simple:

screen shot 2014-05-18 at 12 13 27 pm

@heavysixer
Copy link
Owner

The tricky things with dynamically generated charts is that their legends are of course bound to the data series as well. This means that for charts which involve nesting through keys e.g. stacked or grouped the legend must be run through a parser too. If you know that they structure of the data then you can create a manual legend like the example @jefffriesen is referencing. I will update the example site with a dynamically created legend until we can figure out what a feature would entail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants