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

numberformat:'d' prevents display in tooltip for numbers with decimal places #24

Closed
wahlatlas opened this issue Oct 27, 2015 · 1 comment

Comments

@wahlatlas
Copy link

Using numberFormat:'d' in the meta definition allows only integers to be displayed in the .hoverInfotooltip, whereas numbers with decimal places are not displayed at all, not even their label. This can currently be worked around with numberFormat:'0f'

@floledermann
Copy link
Owner

Formatting Strings are passed through to d3.format, which is implemented this way ("use Number.toString, but ignore any non-integer values")

I added a note in the documentation, though.

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

No branches or pull requests

2 participants