rd3
rd3 copied to clipboard
`Props.colors.domain` prevents custom colors
<AreaChart />
expects colors
as a prop. The default is from d3, and the type is function
. However, this line makes it difficult to add custom colors for this component:
/* AreaChart.js */
props.colors.domain(seriesNames);
Could there be a check / guard so that custom colors can be used on this component? Thank you.