-
Notifications
You must be signed in to change notification settings - Fork 6
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 new example of log scale #276
Comments
This happens because the default tick label format function just converts the value to a string |
Something to discuss. I guess d3 have some utilities to get the nice looking tick labels. Otherwise I have prepare something and could add this utility somewhere and add testcases. |
@wadjih-bencheikh18 Are you able to implement the number formatting from d3 as default formatter (similar with what you did for date) ? |
In date format this option is in react-d3-utils |
@targos I have 2 questions here:
|
If it makes sense to use it for linear scales too, sure.
Yes |
yess fixing default tickFormat in react-d3-utils is better |
Add one more example in the LogAxis story book section with on the vertical axis AND horizontal axis we go from 1e-10 to 1e10.
It seems that currently the way we display the values changes from scientific notation to normal notation and it does not look very pretty to me.
I would suggest that if we need to display one value as scientific notation all the values are in scientific notation.
@stropitek @targos What do you think about it ?
@wadjih-bencheikh18 You may already add the storybook and we should decide what we do.
The text was updated successfully, but these errors were encountered: