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

Make legend more customisable #121

Open
jamesleesaunders opened this issue Jul 25, 2018 · 0 comments
Open

Make legend more customisable #121

jamesleesaunders opened this issue Jul 25, 2018 · 0 comments

Comments

@jamesleesaunders
Copy link
Owner

jamesleesaunders commented Jul 25, 2018

At present when creating a d3-ez chart though base.js there is only position and orientation for the legend: Right and Vertical.

  • It would be nice to make the position of the legend (and title for that mater) customisable such that it could go Bottom/Horizontal etc.
  • Also, make legend border customisable, weight and colour.

The Legend is currently made up of 4 files:

  • legend.js
  • legendColor.js
  • legendSize.js
  • legendThreshold.js

Examples here: https://beta.observablehq.com/@jamesleesaunders/what-a-legend-with-d3-ez

[Suggestion from Reddit: Little_Kitty]

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

1 participant