Skip to content

Line colorscale on scatter graph #581

Description

@MonsieurV

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 with both lines and markers we have a bug (or I'm not using it properly?)

So is it possible to color a line following a colorscale on a scatter graph? How we do it?

Moreover the documentation is confusing, as it states the property line is under the mark one:

Sets the colorscale and only has an effect if marker.line.color is set to a numerical array.

Actually it seems not to be the case: http://codepen.io/anon/pen/OXJErp. Should the documentation states line.color instead?

I can do a PR to fix the doc, but I want to be sure I'm not misleading first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions