{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/581","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/581/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/581/events","html_url":"https://github.com/plotly/plotly.js/issues/581","id":157428557,"number":581,"title":"Line colorscale on scatter graph","user":{"login":"MonsieurV","id":1753348,"avatar_url":"https://avatars.githubusercontent.com/u/1753348?v=3","gravatar_id":"","url":"https://api.github.com/users/MonsieurV","html_url":"https://github.com/MonsieurV","followers_url":"https://api.github.com/users/MonsieurV/followers","following_url":"https://api.github.com/users/MonsieurV/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurV/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurV/subscriptions","organizations_url":"https://api.github.com/users/MonsieurV/orgs","repos_url":"https://api.github.com/users/MonsieurV/repos","events_url":"https://api.github.com/users/MonsieurV/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plotly/plotly.js/labels/type:%20feature","name":"type: feature","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-05-30T04:16:23Z","updated_at":"2016-06-02T19:52:07Z","closed_at":null,"body":"Hello,\r\n\r\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:\r\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)\r\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?)\r\n\r\nSo is it possible to color a line following a colorscale on a scatter graph? How we do it?\r\n\r\nMoreover the documentation is confusing, as it states the property line is under the mark one:\r\n> Sets the colorscale and only has an effect if `marker.line.color` is set to a numerical array.\r\n\r\nActually it seems not to be the case: http://codepen.io/anon/pen/OXJErp. Should the documentation states `line.color` instead?\r\n\r\nI can do a PR to fix the doc, but I want to be sure I'm not misleading first."},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/223402618","html_url":"https://github.com/plotly/plotly.js/issues/581#issuecomment-223402618","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/581","id":223402618,"user":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T19:52:07Z","updated_at":"2016-06-02T19:52:07Z","body":"@timelyportfolio these things look fantastic, and they show width variation too! The gradients are implemented as in the third point, i.e. the whole path has one gradient vector (example defaults to horizontal), which works as the trace points are in a strictly monotonic order when projected to the given gradient vector."}}
{"actor":{"display_login":"monfera"}}