colorBy not available in ResponsivePie
See original GitHub issueFirst of all, thanks for the lib 😄
colorBy
is not available in ResponsivePie
You can find find an example here
But i saw it was available in your sandbox with version 0.52.1
Maybe the PieSvgProps
type is missing the ColorProps<PieDatum>
interface
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Colors from data not being displayed in Nivo ResponsiveBar
I have a ResponsiveBar component in my React app, but the colors are not being displayed as intended. I have followed the guidelines...
Read more >Video: Customize a pie chart - Microsoft Support
Then, from the types available, I'll click this one, Pie of Pie, and click OK. In the Pie of Pie Chart, ... Not...
Read more >Pie chart | nivo
Generates a pie chart from an array of data, each datum must have an id and a value property. Note that margin object...
Read more >5.2 - What's New - Basics - Handbook - Apache ECharts
In the above universal transition example, you may have noticed that we use a colorBy configuration that was not available in the previous...
Read more >It's a Big Piece of Pie, It's Amore - ZURB
We started thinking about some of the customer projects we were working on and how having a responsive pie chart would help others...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
Yes it’s working well using
colors={d => d.color}
Thank you 😃
@plouc nvm i figured it out. for anyone else coming into this issue looking for a way to specify a color scale/set you now just need to pass an object
{ scheme: 'nivo' }