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
Your color customization page is missing one tiny but critical detail, and it makes it seem as if Nivo can only use pre-defined colors (not custom ones).
One currently has to go all the way to Stack Overflow, where a 20+ vote answer explains how simple custom colors are (they're just arrays of color codes).
To Reproduce
Steps to reproduce the behavior:
Find someone who doesn't know Nivo
Ask them to find how to create a chart with custom colors in the docs
It would only take a tiny addition to the docs to explain this critical detail, eg.
Custom Colors
If you want to use your own color set, simply provide an array of color hex vaues instead of a color scheme, eg.
colors={['#111111', '#222222']}
The text was updated successfully, but these errors were encountered:
Describe/explain the bug
Your color customization page is missing one tiny but critical detail, and it makes it seem as if Nivo can only use pre-defined colors (not custom ones).
One currently has to go all the way to Stack Overflow, where a 20+ vote answer explains how simple custom colors are (they're just arrays of color codes).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It would only take a tiny addition to the docs to explain this critical detail, eg.
The text was updated successfully, but these errors were encountered: