Skip to content
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

Show how to use rangebreaks in documentation. #21

Closed
sebfia opened this issue Sep 19, 2020 · 2 comments
Closed

Show how to use rangebreaks in documentation. #21

sebfia opened this issue Sep 19, 2020 · 2 comments

Comments

@sebfia
Copy link

sebfia commented Sep 19, 2020

I just came along this beautiful project and tried to compose a chart with a datetime x-axis where I would like to omit saturdays and sundays.
However after a few hours of trial and error I am still clueless.
Found an example of how this works in js here: https://codepen.io/MojtabaSamimi/pen/oNjvOBa?editors=0010

@Shmew
Copy link
Owner

Shmew commented Sep 21, 2020

Hey @sebfia,

Yep it wasn't your fault it wasn't working, looks like the schema that plotly.js uses didn't have the correct definitions so it wasn't being compiled correctly (as this library is generated from that file). I have fixed the issue and added a little syntactic sugar on top!

I also added an example for reference here

This is released in version 1.4.1. Feel free to re-open if you have any issues!

@Shmew Shmew closed this as completed Sep 21, 2020
@sebfia
Copy link
Author

sebfia commented Sep 21, 2020

That was fast! Thank you for the quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants