Title: zoom broken with multiple traces with different zorder · Issue #7320 · plotly/plotly.js · GitHub
Open Graph Title: zoom broken with multiple traces with different zorder · Issue #7320 · plotly/plotly.js
X Title: zoom broken with multiple traces with different zorder · Issue #7320 · plotly/plotly.js
Description: When I set different zorder to two traces in the same axes. After zooming and reseting axes, zoom no longer works as expected. Steps to reproduce: Open this example Zoom between x=3 and x=4 => works as expected Reset axes Zoom between x=...
Open Graph Description: When I set different zorder to two traces in the same axes. After zooming and reseting axes, zoom no longer works as expected. Steps to reproduce: Open this example Zoom between x=3 and x=4 => work...
X Description: When I set different zorder to two traces in the same axes. After zooming and reseting axes, zoom no longer works as expected. Steps to reproduce: Open this example Zoom between x=3 and x=4 => w...
Opengraph URL: https://github.com/plotly/plotly.js/issues/7320
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"zoom broken with multiple traces with different zorder","articleBody":"When I set different zorder to two traces in the same axes. After zooming and reseting axes, zoom no longer works as expected.\nSteps to reproduce:\n- Open this [example](https://codepen.io/mrubioroy/pen/wBwgxbj)\n- Zoom between x=3 and x=4 => works as expected \n- Reset axes\n- Zoom between x=1 and x=2 => zoomed region is not between 1 and 2 as expected\n\nAm I using zorder incorrectly or is this a bug?\n\nExample:\n\nJS:\n```\nvar trace1 = {x0: 1, dx: 1, y: [10, 15, 13, 17], zorder: 0};\nvar trace2 = {x0: 1, dx: 1, y: [16, 5, 11, 9], zorder: 1};\nvar data = [trace1, trace2];\nPlotly.newPlot('myDiv', data);\n```\n\nHTML:\n```\n\u003chead>\n\t\u003cscript src='https://cdn.plot.ly/plotly-2.35.2.min.js'>\u003c/script>\n\u003c/head>\n\u003cbody>\n\t\u003cdiv id='myDiv'>\u003c/div>\n\u003c/body>\n```","author":{"url":"https://github.com/mrubioroy","@type":"Person","name":"mrubioroy"},"datePublished":"2024-12-17T10:21:50Z","url":"https://github.com/plotly/plotly.js/issues/7320"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a36f8185-3bd5-c78a-f28c-24f78b8be939 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C33C:2454CC:2D93AA7:39DACB8:6B01BBE2 |
| html-safe-nonce | e1bac3a0f60805c8a677c20dc891bc222df8e6900013b5cc41db53369599309d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzNDOjI0NTRDQzoyRDkzQUE3OjM5REFDQjg6NkIwMUJCRTIiLCJ2aXNpdG9yX2lkIjoiMjcyNDE2NjIwNzA5NDc2NjU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72138c3dcc212523e120a7cafd1f26f1a8eab18467c32df9fc322e37acb1205a |
| hovercard-subject-tag | issue:2744523548 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/7320/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f4fad50b84346e638b50bd52af910c883b7a160e3b9d6748eafa9c5619a6cd09/plotly/plotly.js/issues/7320 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4fad50b84346e638b50bd52af910c883b7a160e3b9d6748eafa9c5619a6cd09/plotly/plotly.js/issues/7320 |
| og:image:alt | When I set different zorder to two traces in the same axes. After zooming and reseting axes, zoom no longer works as expected. Steps to reproduce: Open this example Zoom between x=3 and x=4 => work... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrubioroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width