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

Add Html legend support #1329

Closed
wants to merge 3 commits into from
Closed

Conversation

rrameshkumar76
Copy link
Contributor

@rrameshkumar76 rrameshkumar76 commented Aug 6, 2017

Adds a basic HTML legend supporting both vertical and horizontal legends as discussed in issue and based on previous PR by @davejlong


/**
#### .horizontal([boolean])
Display the legend horizontally instead of horizontally

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this comment say 'vertically' not 'horizontally' at the end of the sentence?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, will need to correct that, Thanks for pointing it out.

@kum-deepak
Copy link
Collaborator

@rrameshkumar76 Thanks for your excellent work. I am currently working on upgrading dc to use D3v4 and assisting on preparing next major release of dc (version 3). You can track the progress in 3.0 branch. @gordonwoodhull has planned this PR to be part of this release. I will be working on upgrading this PR for D3v4 and readying for inclusion in dc.

Will really appreciate if you are around and are able to help :)

@rrameshkumar76
Copy link
Contributor Author

@kum-deepak Sure let me know. Thanks

@kum-deepak
Copy link
Collaborator

Many thanks! Please try rebasing you code against 3.0 branch. Let me know your results.

@kum-deepak
Copy link
Collaborator

Update you npm modules after the rebase (version of d3 has changed).

$ npm i

@rrameshkumar76
Copy link
Contributor Author

Will try and let you know of the results.

This was referenced Mar 30, 2018
@kum-deepak
Copy link
Collaborator

@rrameshkumar76 Please check #1392, it works with D3v4, only changes are there in the specs.

@gordonwoodhull
Copy link
Contributor

Merged via #1392 for 3.0.0

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

Successfully merging this pull request may close these issues.

4 participants