-
Notifications
You must be signed in to change notification settings - Fork 186
text dx and dy cannot accept function #1528
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
Comments
You would need to pass dy: (d) => d.year % 5 === 0 ? -6 : 10 This still wouldn't work, though, because dx and dy are (currently) constant options rather than channels: https://observablehq.com/plot/features/marks#mark-options
There's some discussion in this PR about converting more options to channels: #909 |
The
|
thank you very much, I got it ! |
the following code not working
The text was updated successfully, but these errors were encountered: