Title: [BUG]: scattergl hover freezes with more than 100.000 points all with different x but same y · Issue #8036 · plotly/plotly.js · GitHub
Open Graph Title: [BUG]: scattergl hover freezes with more than 100.000 points all with different x but same y · Issue #8036 · plotly/plotly.js
X Title: [BUG]: scattergl hover freezes with more than 100.000 points all with different x but same y · Issue #8036 · plotly/plotly.js
Description: Description In scattergl, when you have more than 100.000 points the scattergl freezes when trying to hover, more informations in the steps to reproduce. Steps to reproduce In version 4.0.0 Create a scattergl with 100.000 points with x j...
Open Graph Description: Description In scattergl, when you have more than 100.000 points the scattergl freezes when trying to hover, more informations in the steps to reproduce. Steps to reproduce In version 4.0.0 Create ...
X Description: Description In scattergl, when you have more than 100.000 points the scattergl freezes when trying to hover, more informations in the steps to reproduce. Steps to reproduce In version 4.0.0 Create ...
Opengraph URL: https://github.com/plotly/plotly.js/issues/8036
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG]: scattergl hover freezes with more than 100.000 points all with different x but same y","articleBody":"\n### Description\n\nIn scattergl, when you have more than 100.000 points the scattergl freezes when trying to hover, more informations in the steps to reproduce.\n\n### Steps to reproduce\n\nIn version 4.0.0\nCreate a scattergl with 100.000 points with x just the index of the point and y all the same.\nyou can use this snipper\n```js\nconst n = 100000;\n\nPlotly.newPlot('graph', [{\n type: 'scattergl',\n mode: 'markers',\n x0: 0,\n dx: 1,\n y: Array(n).fill(0)\n}]);\n```\nThe default hovermode will be ok, no need to change it.\nTry hovering on the point: the app freezes immediately.\nStaying in the horizontal line of the points will make it look a little slow but normal, but when you exit from the line it freezes again.\nTry removing one point (99.999 points): the freeze is gone.\n\n### Notes\n\nProbably related to #6792 and #5790 but can't confirm if it's completely the same, this is more specific.\nIt is probably due to to the collapsation of the algorithm that comes in in a scattergl when there are TOO_MANY_POINTS (exactly 100.000).\n","author":{"url":"https://github.com/martinaquarantelli","@type":"Person","name":"martinaquarantelli"},"datePublished":"2026-09-11T14:37:01Z","url":"https://github.com/plotly/plotly.js/issues/8036"}
| 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:2cfebace-bc6a-b598-5694-bde9bf0ad376 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7BA:157C65:290B543:36BEC65:6B01BBE9 |
| html-safe-nonce | 632d03a7bd75fcf5fb6fd92cc9fb5112eedca892399c92eb50d9dca81d9778a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0JBOjE1N0M2NToyOTBCNTQzOjM2QkVDNjU6NkIwMUJCRTkiLCJ2aXNpdG9yX2lkIjoiNTkzMDc3Mzg1NjY4NzA3ODM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5d2645a6024b11a7814b3dc86fe823434560ab4689607ea7ccc7297bcccef0a4 |
| hovercard-subject-tag | issue:5425554223 |
| 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/8036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6003132e6078d118aae26dfd0ddea66036d124e9eba67d65439b91e9f89fe5a7/plotly/plotly.js/issues/8036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6003132e6078d118aae26dfd0ddea66036d124e9eba67d65439b91e9f89fe5a7/plotly/plotly.js/issues/8036 |
| og:image:alt | Description In scattergl, when you have more than 100.000 points the scattergl freezes when trying to hover, more informations in the steps to reproduce. Steps to reproduce In version 4.0.0 Create ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martinaquarantelli |
| 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