Title: Line colorscale on scatter graph · Issue #581 · plotly/plotly.js · GitHub
Open Graph Title: Line colorscale on scatter graph · Issue #581 · plotly/plotly.js
X Title: Line colorscale on scatter graph · Issue #581 · plotly/plotly.js
Description: Hello, I can't make work the marker.line.colorscale property. I'm not sure how it should work, but what I can say is: using the colorscale property on lines as it is used on markers has no effect if we use the property on a scatter graph...
Open Graph Description: Hello, I can't make work the marker.line.colorscale property. I'm not sure how it should work, but what I can say is: using the colorscale property on lines as it is used on markers has no effect i...
X Description: Hello, I can't make work the marker.line.colorscale property. I'm not sure how it should work, but what I can say is: using the colorscale property on lines as it is used on markers has no ...
Opengraph URL: https://github.com/plotly/plotly.js/issues/581
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Line colorscale on scatter graph","articleBody":"Hello,\n\nI can't make work the [marker.line.colorscale](https://plot.ly/javascript/reference/#scatter-marker-line-color) property. I'm not sure how it should work, but what I can say is:\n- using the `colorscale` property on lines as it is used on [markers](http://codepen.io/etpinard/pen/zqqeBJ) has [no effect](http://codepen.io/anon/pen/jrOKvY)\n- if we use the property on a scatter graph with both lines and markers we have [a bug](http://codepen.io/anon/pen/aZbKPx) (or I'm not using it properly?)\n\nSo is it possible to color a line following a colorscale on a scatter graph? How we do it?\n\nMoreover the documentation is confusing, as it states the property line is under the mark one:\n\n\u003e Sets the colorscale and only has an effect if `marker.line.color` is set to a numerical array.\n\nActually it seems not to be the case: http://codepen.io/anon/pen/OXJErp. Should the documentation states `line.color` instead?\n\nI can do a PR to fix the doc, but I want to be sure I'm not misleading first.\n","author":{"url":"https://github.com/MonsieurV","@type":"Person","name":"MonsieurV"},"datePublished":"2016-05-30T04:16:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/581/plotly.js/issues/581"}
| 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:45a1e6da-1f5a-b7f1-60d9-020a3d97279b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C77E:145838:FC6CAA:154A7D0:6A59468C |
| html-safe-nonce | 10807d32c998922a9f1412af71def7434d0afd291317614e00ae2100f0457318 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzdFOjE0NTgzODpGQzZDQUE6MTU0QTdEMDo2QTU5NDY4QyIsInZpc2l0b3JfaWQiOiIzNTk3MzkxMTIyMDIzNDAxMTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1b0097a668c3a4418a02ddf68af341f35bcc1854b10db6ac952c0bb2664bfd36 |
| hovercard-subject-tag | issue:157428557 |
| 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/581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0190b14139064caec7cb50f688e092adfa62b2ae71ff8e54c43a5e9f85b51ab4/plotly/plotly.js/issues/581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0190b14139064caec7cb50f688e092adfa62b2ae71ff8e54c43a5e9f85b51ab4/plotly/plotly.js/issues/581 |
| og:image:alt | Hello, I can't make work the marker.line.colorscale property. I'm not sure how it should work, but what I can say is: using the colorscale property on lines as it is used on markers has no effect i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MonsieurV |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f801e05b35c85b2d72eae6534d2b1d4c02ba8732fd046450bab31e2f52450ce |
| 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 | 49918fc503387d6d65b6bc6ce6f711c14d17bfbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width