Title: Wrong interaction between fill:tonexty and fill:none traces · Issue #113 · plotly/plotly.js · GitHub
Open Graph Title: Wrong interaction between fill:tonexty and fill:none traces · Issue #113 · plotly/plotly.js
X Title: Wrong interaction between fill:tonexty and fill:none traces · Issue #113 · plotly/plotly.js
Description: Not sure if I'm misunderstanding the way fill should be used or not. In any case, a scatter graph with: a few fill none lines, which might or might not intersect the fill lines, which have to come first one fill tozeroy and multiple tone...
Open Graph Description: Not sure if I'm misunderstanding the way fill should be used or not. In any case, a scatter graph with: a few fill none lines, which might or might not intersect the fill lines, which have to come ...
X Description: Not sure if I'm misunderstanding the way fill should be used or not. In any case, a scatter graph with: a few fill none lines, which might or might not intersect the fill lines, which have to c...
Opengraph URL: https://github.com/plotly/plotly.js/issues/113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong interaction between fill:tonexty and fill:none traces","articleBody":"Not sure if I'm misunderstanding the way fill should be used or not. In any case, a scatter graph with:\n- a few fill `none` lines, which might or might not intersect the fill lines, **which have to come first**\n- one fill `tozeroy` and multiple `tonexty` lines; none of these fill-something lines are intersecting\n\nEverything looks OK, until one hides the `tozeroy` line and all `tonexty` lines that have values smaller than the non-fill lines. Normally I'd expect the next 'fill-something' line to expand to zero, but - since there is a hard separation between tozeroy and tonexty - this doesn't happen. Instead, the next (and smallest) fill-tonexty line will just fill to a non-fill line.\n\nIf there are no non-fill lines, then the smalles `tonexty` line will - as expected - fill to zeroy. It seems to me that `tonexty` should ignore `fill:none` lines, or alternatively: remove the distinction between `tonexty` and `tozeroy`, since `tonexty` already does `tozeroy` if it doesn't find a next y trace.\n\nI'm not sure I explained correctly, so here's a chart that shows this behaviour: \nhttps://plot.ly/~iustin/59/no-fill-fill-1-fill-2-fill-3/\njust hide/unhide the `fill-1` trace, and see the wrong behaviour. Additionally toggle the `no-fill` trace as well. If on the other hand, `fill-2` is hidden, you can see that `fill-3` fills correctly to `fill-1`, and not to `no-fill`, so sometimes `fill:none` traces are indeed ignored.\n","author":{"url":"https://github.com/iustin","@type":"Person","name":"iustin"},"datePublished":"2015-12-14T23:55:43Z","url":"https://github.com/plotly/plotly.js/issues/113"}
| 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:1130ea7a-a7b5-f112-cd3d-b4d8ff77d876 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D52:2D2F2F:31F1E52:3FB8F30:6B01C479 |
| html-safe-nonce | 33d810cffb614ff2d9fe425741b966a8930827b8b6be0eb84c2937dc898eaf44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDUyOjJEMkYyRjozMUYxRTUyOjNGQjhGMzA6NkIwMUM0NzkiLCJ2aXNpdG9yX2lkIjoiODQ5MDQ5NjYyNjE5NTAyMjk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9add0671e56e4c99be574d5877f315318dd41903165ccd3889e11d3d5f05b184 |
| hovercard-subject-tag | issue:122160234 |
| 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/113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac50549908566a075c09f0c83e5740d85bd4b16e42342a6ec490c16f0dd3fd8e/plotly/plotly.js/issues/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac50549908566a075c09f0c83e5740d85bd4b16e42342a6ec490c16f0dd3fd8e/plotly/plotly.js/issues/113 |
| og:image:alt | Not sure if I'm misunderstanding the way fill should be used or not. In any case, a scatter graph with: a few fill none lines, which might or might not intersect the fill lines, which have to come ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iustin |
| 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