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

axis ticks in jenk scale not appearing #49

Closed
jspeis opened this issue Apr 4, 2018 · 1 comment
Closed

axis ticks in jenk scale not appearing #49

jspeis opened this issue Apr 4, 2018 · 1 comment
Assignees

Comments

@jspeis
Copy link

jspeis commented Apr 4, 2018

Expected Behavior

Expect to see the label for ticks on a Jenks scale

Current Behavior

  1. If the label for the last tick is near the edge of the visualization, then the label for the last tick does not appear (though the tick mark line does).
  2. Labels closely clustered with other labels do not appear and it is not possible to see values for the ticks via tooltips

screen shot 2018-04-04 at 9 48 31 am

Potential suggestion

Maybe an alternative representation like the one below could be a useful option as a legend for jenks scales to avoid these issues?
cancer_rates_jenks

Steps to Reproduce (for bugs)

  1. https://jsfiddle.net/5f639ph1/

Your Environment

  • Browser Name: Chrome
  • Operating System and Version: OS X
@davelandry
Copy link
Member

That last tick bug is assumed dead in the latest release: https://github.com/d3plus/d3plus-legend/releases/tag/v0.8.17 @jspeis please double check that one in your environment for us.

As for the super-close labels, I think you're right that either a tooltip or using our standard Legend instead of ColorScale would be preferred. I've created matching issues in d3plus-legend, and hopefully @nbond211 can tackle these next week:

@davelandry davelandry self-assigned this Apr 4, 2018
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

2 participants