Skip to content

Legend and X Axis DATE issue with Plotly latest DEV build #498

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

Closed
ahsanshah opened this issue Mar 11, 2016 · 3 comments
Closed

Legend and X Axis DATE issue with Plotly latest DEV build #498

ahsanshah opened this issue Mar 11, 2016 · 3 comments

Comments

@ahsanshah
Copy link

I see 2 issues with PLotlys latest DEV build.

  1. How to change the hover over info on Linux X Date Axis which now defaults to Millisend for EPOCH
  2. How do we fix the legend positions as it does not accept the legend position options from MASTER plotly (pre Dev branch)

All code for this has been provided in the following closed case: #482

image

Thanks

@cpsievert
Copy link
Collaborator

The latest Github version should fix (1) and for (2) you can do something similar to this

@ahsanshah
Copy link
Author

Ok so I fixed the legend with edits to the layout margin (issue #2)

However, for issue #1, even with the latest GITHUB version the MARKERS for the add_trace does NOT align with the DATE. As you recommended I am using the following to show the markers:

x = as.numeric(startlocal) * 24 * 60 * 60 * 1000

Howwever, the hover over is not showing the DATE values. Instead it still shows the milliseconds for the Epoch. This was working fine with the older build.

image

@ahsanshah
Copy link
Author

I also notice that autosize = "FALSE" or "F" does not prevent autosizing, that may be a separate issue.

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