Sunburst Color Conditions

Problem: 

  1. For the sunburst chart, is it possible to change the color based on condition? I have tried to add rules under plot, but it does not seem to work.
  2. Is it possible to pass one more attribute in the series to indicate the color? How would you use/access this attribute in the plot? (User tried to use the custom token to series, but it does not seem to be parsed in the sunburst chart.)

Solution:

In this sunburst demo, we added 'data-level' and 'data-year' as custom tokens and as you can see in the attached illustration, we can access it in the tool-tip. Please use the demo for reference.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us