-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Ordinal Scale #3193
Comments
I can think of a bunch of ways to do this. From my understanding, the ordinal scale is very similar to our category scale (the default x scale). With some finessing the options, this will work on a Y axis. I'll see if I can think of a nice way to do this without having to build a brand new scale. |
I believe this is now resolved. I checked with v3.0.0-beta.3 and labels can be specified on the axis, rather than in the data object itself. https://jsfiddle.net/ka28u7Lz/ |
An ordinal scale would be a useful feature. I think d3 already has this?
My current use case is plotting financial data which should only accept Monday through Friday as valid x-scale values. Saturdays and Sundays should not effect the x-scale. Currently however a line will be drawn between Friday and Monday of two-day length compensation for the 'missing' data on Saturday and Sunday.
Thoughts?
The text was updated successfully, but these errors were encountered: