Closed ervfreitas closed 1 year ago
@ervfreitas This work is in our backlog. We would like to use the default color palette in case no color is provided like it has been done for lineChart and areaChart. https://github.com/microsoft/fluentui/pull/26869 Feel free to fix it in the donut chart if it is blocking you and we will be happy to review and merge the changes.
Hi @AtishayMsft, thank you for the guidance in this matter. I am working in a PR to submit for review.
The issue is fixed in #29113
Library
React / v8 (@fluentui/react)
System Info
Are you reporting Accessibility issue?
None
Reproduction
https://codepen.io/efreitas/pen/rNoeWJw
Bug Description
Actual Behavior
fill this out Colors of DonutChart do not match with the Legends colors. Currently when there are no color data the donut maintains only black colors but the legends are random populate.
Expected Behavior
fill this out Both items should share the same colors
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations