-
Notifications
You must be signed in to change notification settings - Fork 525
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
Orientation 'right' not working with dates #2251
Comments
I think I am having a similar issue 😬 If I add enough padding on the right side things work, but that's not ideal. Also if I add left padding to the chart (having issue with x axis label getting rendered off the left of the chart x axis) sometimes the y axis gets rendered on the left side again... |
@matejfalat I seemed to get my padding and y axis orientation (on the right) problems working by converting the date values in my data to numbers i.e. |
Here is a fork of the codesandbox that shows it working and not working if you comment line 20 |
The Problem
Setting
orientation = "right"
doesn't seem to work properly when values are date objects. Tick labels are moved to the right, but the axis remains on the left.Reproduction
https://codesandbox.io/s/interesting-nova-q14s3v?file=/index.js
The text was updated successfully, but these errors were encountered: