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

Color-by-string for Treemap/Sunburst #1415

Merged
merged 3 commits into from
May 9, 2021
Merged

Color-by-string for Treemap/Sunburst #1415

merged 3 commits into from
May 9, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented May 9, 2021

This PR adds support for "string" typed columns in the Color position in "Treemap" and "Sunburst" D3FC plugins, assigning each unique string in the column color from the series palette.

category_colors

In addition, the `Sunburst" chart type has been re-vamped:

  • Re-styled to a more pie-like appearance (as opposed to donut), without a center cutout.
  • Radius calculation has been changed to take up the full width of the panel (as opposed to constant)
  • Pivot depth limit of 2 has been removed.
  • Parent sunburst levels are now pulled from aggregate rows (as opposed to spontaneously re-calculated).

whie_chart

@texodus texodus added plugins enhancement Feature requests or improvements JS labels May 9, 2021
@texodus texodus added this to the 0.8.1 milestone May 9, 2021
@texodus texodus merged commit 455eea3 into master May 9, 2021
@texodus texodus deleted the category-colors branch May 9, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements JS plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant