Skip to content

Pie chart doesnt restyle marker.colors #247

Closed
@andrey-zakharov

Description

@andrey-zakharov

Simple test case:

var trace1 = {
  labels: [1, 2, 3, 4],
  values: [10, 15, 13, 17],
  type: 'pie',
};

var update = {
    'marker.colors': ['#200', '#400', '#600', '#800']
}

Plotly.newPlot(graphDiv, [trace1], {title: "test pie"});
Plotly.restyle(graphDiv, update);

http://codepen.io/anon/pen/RrEPgy?editors=0010
doesn't update colors.

seems like marker.colors not included somewhere to replot flags.

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