Colour schemes and colour blocking children
Closed this issue · 1 comments
sophiabarclay commented
Is there a way to pass down the same colour from parent data to children data so that children data is organised into colour blocks that relate directly to their parent?
This is possible with the D3 Zoomable Sunburst, as seen in this example:
Also, is it possible to create customised colour schemes? Thanks!
David-Desmaisons commented
- Yes: check getCategoryForColor props
- Check the demo for all the colour schemes, currently 8 D3 schemes are supported:
https://david-desmaisons.github.io/Vue.D3.sunburst/