Skip to content

Missing certain xaxis labels #1324

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
jpmunz opened this issue Jan 20, 2017 · 1 comment · Fixed by #1347
Closed

Missing certain xaxis labels #1324

jpmunz opened this issue Jan 20, 2017 · 1 comment · Fixed by #1347
Labels
bug something broken

Comments

@jpmunz
Copy link

jpmunz commented Jan 20, 2017

When using ticktext it appears that with certain data sets there are missing xaxis labels. In this example the xaxis label for 'Jan 1' is missing even though the marker for that data point is drawn and the label is shown on hover:
https://jsfiddle.net/hgqhrnrj/5/

The bug only seems to occur with very specific data sets, for example if you remove or reorder one of the items from the data array then 'Jan 1' gets drawn properly.

rpaskowitz pushed a commit to rpaskowitz/plotly.js that referenced this issue Jan 25, 2017
In the example Jan 11 is at x = 0 while Jan 1 is at x = 10. Concatenating the two results in both being "Jan 110".
@rpaskowitz
Copy link
Contributor

Pull request against fork per guidelines is at rpaskowitz#1 . Will create new PR against main project if the fix looks good.

@etpinard etpinard added the bug something broken label Jan 30, 2017
rpaskowitz pushed a commit to rpaskowitz/plotly.js that referenced this issue Jan 30, 2017
In the example Jan 11 is at x = 0 while Jan 1 is at x = 10. Concatenating the two results in both being "Jan 110".
rpaskowitz pushed a commit to rpaskowitz/plotly.js that referenced this issue Jan 31, 2017
In the example Jan 11 is at x = 0 while Jan 1 is at x = 10. Concatenating the two results in both being "Jan 110".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants