Skip to content

How do you set "start" and "end" color in scatter plot with color dimension #2929

@kristian2x

Description

@kristian2x

In the scatter plot example with color dimension (https://plot.ly/javascript/line-and-scatter/#scatter-plot-with-a-color-dimension), the color dimension seems to be automatically chosen depending on the numerical input 'color'. But how can we change the start/end color (in this example grey / red)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions