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

Pass more data to sunburst color method to allow greater customization and consistency #1677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pass more data to sunburst color method to allow greater customization and consistency #1677

wants to merge 1 commit into from

Commits on May 23, 2016

  1. fix(sunburst): pass more data to color method

    This fix passes the entire data object and index into the color function rather than just the name. In addition to to allowing more intelligent color functions, this change makes the API more consistent with the pie chart.
    
    BREAKING CHANGE:
    
    Any existing sunburst chart that uses a custom color function will need to be updated to the new api; however, the name is still passed to this function as an attribute of the object.
    manbearwiz committed May 23, 2016
    Configuration menu
    Copy the full SHA
    50bc921 View commit details
    Browse the repository at this point in the history