Title: Range selectors + streaming and/or markers · Issue #387 · plotly/plotly.js · GitHub
Open Graph Title: Range selectors + streaming and/or markers · Issue #387 · plotly/plotly.js
X Title: Range selectors + streaming and/or markers · Issue #387 · plotly/plotly.js
Description: @etpinard 's PR #373 handles the case of static data with lines but no markers. To handle streaming data, "latest X time" should be part of autorange, such that it gets recalculated every time the data changes. Markers will be a problem ...
Open Graph Description: @etpinard 's PR #373 handles the case of static data with lines but no markers. To handle streaming data, "latest X time" should be part of autorange, such that it gets recalculated every time the ...
X Description: @etpinard 's PR #373 handles the case of static data with lines but no markers. To handle streaming data, "latest X time" should be part of autorange, such that it gets recalculated e...
Opengraph URL: https://github.com/plotly/plotly.js/issues/387
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Range selectors + streaming and/or markers","articleBody":"@etpinard 's PR #373 handles the case of static data with lines but no markers. To handle streaming data, \"latest X time\" should be part of autorange, such that it gets recalculated every time the data changes.\n\nMarkers will be a problem in the existing system because they cause the range to be padded, and that padding will grow as a fraction of the plot as you zoom in. That would also be fixed by working this into the autorange machinery.\n\nSo what would such a system look like? I think extra options for `rangemode` seems like the easiest way, plus a mechanism to specify the span (how about `span` ??)\n\nSo, to show the last 6 months, something like:\n`rangemode='largest', span='6months'`\n\nBut there could be others, like the _first_ 6 months:\n`rangemode='smallest', span='6months'`\n\nOr autoscale one end, with the other end fixed (may handle the `stepmode='todate'` case from #373 ):\n`rangemode='afterconstant', rangelimit='2015-01-01'` (`rangelimit` isn't a great name, but that's the idea)\n`rangemode='beforeconstant', rangelimit=100` (don't show anything bigger than 100)\n\nAlso: how do we work this into the interactions? If we change nothing else, doubleclick to autorange will revert to the `rangemode` settings (because all it does it set `autorange: true`. Maybe that's what we want to happen... but we could also do something snazzy like if you doubleclick _again_ then it goes to FULL autorange (`rangemode='normal'`) but stash the rangemode so if you doubleclick a _third_ time you'll go back to the original `rangemode`. Dunno, that part may be too complicated...\n","author":{"url":"https://github.com/alexcjohnson","@type":"Person","name":"alexcjohnson"},"datePublished":"2016-04-01T21:56:25Z","url":"https://github.com/plotly/plotly.js/issues/387"}
| 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:04b87555-e86b-0f33-7088-f0dbe5baa5fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B772:1087D4:2765161:34AC702:6B01B48B |
| html-safe-nonce | 496bd744b9457a0f5c2416eb5ca745c7f98249d8d88b766cfa0b37acbaff4ba3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzcyOjEwODdENDoyNzY1MTYxOjM0QUM3MDI6NkIwMUI0OEIiLCJ2aXNpdG9yX2lkIjoiMzYzNjUxODU2MTg2MzgwODEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92b7c83321e01918cfa8cd74f6ab8abdfd737a452ced50110b0607a71edc20d2 |
| hovercard-subject-tag | issue:145295065 |
| 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/387/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5de1a24e6485b775350a93428a3d5e9b35a9bd2c4c7211ad1cf3896af0543fd8/plotly/plotly.js/issues/387 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5de1a24e6485b775350a93428a3d5e9b35a9bd2c4c7211ad1cf3896af0543fd8/plotly/plotly.js/issues/387 |
| og:image:alt | @etpinard 's PR #373 handles the case of static data with lines but no markers. To handle streaming data, "latest X time" should be part of autorange, such that it gets recalculated every time the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexcjohnson |
| 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