Skip to content

Partition charts don't accept theming via color array #610

@wylieconlon

Description

@wylieconlon

This is a request for partition charts to take a color input such as color={['red', 'green', 'blue']}, and to use the defined colors as a theme. Each color in the theme would be used sequentially for the first layer, cycling if there are more sections than colors.

The result would look like the sunburst examples:

Screenshot 2020-03-27 14 20 31

This is possible today, but the proposed API simplifies the most common usage.

Checklist

  • this request is checked against already exist requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    :colorscolors related issue:partitionPartition/PieChart/Donut/Sunburst/Treemap chart relatedenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions