-
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
Problem with log scale #293
Problem with log scale #293
Comments
The number of secondary ticks should be the same between each power of 10 |
i already mention that the number of secondary ticks is hard coded |
but that is not related to the bug right? if so let's fix the bug first and we can think of the api for configuring the number of secondary ticks after |
no i think it's related to the bug |
so i think the solution is to fix useLogTicks in react-d3-utils then it will be easy to work on density here |
Indeed I think that even if the value changes of more than 1 power of 10, there should still be only 10 secondary ticks between each main tick To me the secondary ticks on a log scale are not actually that useful, except from making it very clear in one glance that the axis does not have a classic linear scale. |
the best way to do it is to make useLogScale in react-d3-utils only give us main ticks so we can control secondary ticks in react-plot |
zakodium-oss/react-d3-utils#23 need to be merged in order to fix the problem |
If you open the following example:
https://zakodium.github.io/react-plot/?path=/story/api-logaxis--axis-left-log-control
Towards the top of the vertical axis there is a crazy number of secondary ticks that creates this grey large line
@wadjih-bencheikh18 Could you investigate and try to solve this problem ?
The text was updated successfully, but these errors were encountered: