Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
wylieconlon opened this issue Mar 27, 2020 · 0 comments
Open
1 task done

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

wylieconlon opened this issue Mar 27, 2020 · 0 comments
Labels
:colors colors related issue enhancement New feature or request :partition Partition/PieChart/Donut/Sunburst/Treemap chart related

Comments

@wylieconlon
Copy link

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
@wylieconlon wylieconlon added enhancement New feature or request :partition Partition/PieChart/Donut/Sunburst/Treemap chart related :colors colors related issue labels Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:colors colors related issue enhancement New feature or request :partition Partition/PieChart/Donut/Sunburst/Treemap chart related
Projects
None yet
Development

No branches or pull requests

1 participant