-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Tickformat attribute descriptions should link to d3 v3 timeformat docs #3052
Comments
We're (still unfortunately) using d3 v3. So that doc page isn't adequate. We should update the plotly.js/src/plots/cartesian/layout_attributes.js Lines 509 to 518 in a070a8d
and link it to https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md#format #424 is the issue regarding bumping d3. Thanks for reporting. |
For completeness, the items d3v3 is missing that v5 has are:
Perhaps not worth it until we upgrade our d3, but it would be possible for us to add |
Ha good point, I forgot about that |
It will be greate to also add |
Hi, about the @etpinard's comment "We're (still unfortunately) using d3 v3": there are plans for update Plotly's D3 in 2019? |
You subscribed to #424 for the most up-to-date development info. We for sure would like to upgrade d3 in the near future, but upgrading currently breaks our transition/animation code which (unfortunately) has a lot of not-so-well tested behavior and would require many days of manual testing. As newer major versions of d3 don't offer many new features of interest for us, we haven't gotten around to do it. |
We've implemented this and it should be out in the next version of Plotly.js, in the coming days. |
Hi @nicolaskruchten - when do you plan to release the next version? |
Plotly.js version 1.55 came out last Thursday, and it supports |
Tickformat with "%V" for weekdays is not working:
https://codepen.io/anon/pen/NLQpEz
It should work as described in https://github.com/d3/d3-time-format/blob/master/README.md#locale_format
Where is the source of the formatting? Can anyone provide a link pls?
All the best
The text was updated successfully, but these errors were encountered: