Comments (9)
@Firenze11, of course, you can provide your custom color palette to colors
property for most components.
from nivo.
@Firenze11 if it helps, here is how I coloured my pie chart so each segment alternates between my theme's primary and secondary colours:
<ResponsivePie colors={[theme.primaryColor, theme.secondaryColor]} />
from nivo.
@JeffHeon, do you know where I can find some?
from nivo.
I will search and reply back this week.
from nivo.
I found these for different type of colour blindness, but you'd have to use a color picker tool. Not super practical: http://mkweb.bcgsc.ca/colorblind/img/colorblindness.palettes.png
(from http://mkweb.bcgsc.ca/colorblind/ )
from nivo.
The a11y project have a few online tools One of them this: Mix and match color classes to create accessible themes
from nivo.
Wanted to ask is it possible to now to allow users provide their custom color palette? If not is there a plan to do so?
from nivo.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
from nivo.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
from nivo.
Related Issues (20)
- Add Icons as Labels HOT 1
- BarChart setting enableTotals not working HOT 6
- X gridlines extend past the bottom of the chart into tick labels HOT 3
- Infinite renders with custom legend HOT 3
- Additional Color Scale Options in Nivo Choropleth HOT 1
- Bar Component: TypeError: Axes is not a function - When using ES module (@nivo/bar/dist/nivo-bar.es.js) HOT 2
- [@nivo/bar v.0.86.0] React warning about unique key prop when using bar totals
- [Bar] Option to decide label position HOT 2
- The prop `defs` is marked as required in `Ge2`, but its value is `undefined HOT 4
- Warning: A props object containing a "key prop is being spread into JSX:
- Error t.useMemo using React 16.14.0 HOT 3
- The size of the SVG does not adapt to the size of the graph HOT 2
- Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' HOT 1
- π©Custom Legend causes infinite re-render! π© HOT 1
- Nivo Bar Chart: Incorrect Decimal Rounding in Labels
- Line Chart : crash when hovering an empty chart that is interactive
- onMouseEnter and onMouseLeave don't work on @nivo/geo HOT 1
- The arc link labels for ResponsivePie overflow the drawable area. HOT 2
- Vite (using ESBuild) fails with 'require() of ES Module not supported' HOT 7
- @nivo/calendar type CalendarDatum is missing 'data' property
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nivo.