Title: Incorrect fill rendering caused by gaps in data · Issue #2736 · plotly/plotly.js · GitHub
Open Graph Title: Incorrect fill rendering caused by gaps in data · Issue #2736 · plotly/plotly.js
X Title: Incorrect fill rendering caused by gaps in data · Issue #2736 · plotly/plotly.js
Description: I'm using Plotly.js to display some time series data with the following relevant properties: Large gaps in the data, and Non-symmetric uncertainty (i.e. each data point has min,avg,max values). I'm attempting to plot this by adapting thi...
Open Graph Description: I'm using Plotly.js to display some time series data with the following relevant properties: Large gaps in the data, and Non-symmetric uncertainty (i.e. each data point has min,avg,max values). I'm...
X Description: I'm using Plotly.js to display some time series data with the following relevant properties: Large gaps in the data, and Non-symmetric uncertainty (i.e. each data point has min,avg,max values)....
Opengraph URL: https://github.com/plotly/plotly.js/issues/2736
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect fill rendering caused by gaps in data","articleBody":"I'm using Plotly.js to display some time series data with the following relevant properties:\r\n\r\n- Large gaps in the data, and\r\n- Non-symmetric uncertainty (i.e. each data point has min,avg,max values).\r\n\r\nI'm attempting to plot this by adapting [this example](https://plot.ly/javascript/continuous-error-bars/#asymmetric-error-bars-with-a-constant-offset), but I seem to have come across a bug: when using data with gaps (and `connectgaps: false`) at the same time as `fill: 'tonexty'`, the gaps cause the fill to be drawn incorrectly: \r\n\r\n\r\n(The section of data at the very end of the graph is rendered correctly, but everything before the last gap is messed up.) For a simple example that reproduces this issue, see [this codepen](https://codepen.io/anon/pen/zadxLK).\r\n\r\nInterestingly, adding `fill: 'tozeroy'` to the bottom trace seems to resolve the obviously broken aspect of this issue:\r\n\r\n\r\nI would still argue that the expected behaviour is that `connectgaps: false` should result in no fill crossing the gaps.","author":{"url":"https://github.com/acarapetis","@type":"Person","name":"acarapetis"},"datePublished":"2018-06-14T05:40:44Z","url":"https://github.com/plotly/plotly.js/issues/2736"}
| 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:fb17931a-4807-93d6-c437-a6eeb1938703 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E244:296654:2925D14:36E3EF5:6B01B9F6 |
| html-safe-nonce | 0a1623d27fba60baa23b684eefdd83b25bc92d08aa865a83c8eb7237c5fd0fc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQ0OjI5NjY1NDoyOTI1RDE0OjM2RTNFRjU6NkIwMUI5RjYiLCJ2aXNpdG9yX2lkIjoiOTE3NTYzMjYyNjc1MTQ4NjQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7555caa6ec5ce060d03e45a61a32abdefe7209c9b194bbc9e0953ad62e22920f |
| hovercard-subject-tag | issue:332258306 |
| 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/2736/issue_layout |
| twitter:image | https://opengraph.githubassets.com/26f4573f55bd55caaf04ea2f575fcee7ae379a0ed1a28154c5da8d0f0eb3b773/plotly/plotly.js/issues/2736 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/26f4573f55bd55caaf04ea2f575fcee7ae379a0ed1a28154c5da8d0f0eb3b773/plotly/plotly.js/issues/2736 |
| og:image:alt | I'm using Plotly.js to display some time series data with the following relevant properties: Large gaps in the data, and Non-symmetric uncertainty (i.e. each data point has min,avg,max values). I'm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | acarapetis |
| 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