You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe/explain the bug
When trying to use the the colour scheme 'tableau10' chart(s) error with "Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' ", only tested on Funnel, Bar and Pie charts
To Reproduce
pass the following data to the colors prop, { scheme: 'tableau10' }
Expected behavior
charts inherits the colours from the given scheme
Screenshots
Desktop (please complete the following information):
Describe/explain the bug
When trying to use the the colour scheme 'tableau10' chart(s) error with "Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' ", only tested on Funnel, Bar and Pie charts
To Reproduce
pass the following data to the colors prop, { scheme: 'tableau10' }
Expected behavior
charts inherits the colours from the given scheme
Screenshots
Desktop (please complete the following information):
Additional context
Deps:
"@nivo/bar": "^0.86.0",
"@nivo/core": "^0.86.0",
"@nivo/funnel": "^0.86.0",
"@nivo/pie": "^0.86.0",
reference:
https://nivo.rocks/guides/colors/
The text was updated successfully, but these errors were encountered: