Bar Chart colors
See original GitHub issueHi,
Thanks for the amazing Library, it looks really nice and performs well too. Just a question. Is there a way to change the colours of the individual barchats instead of rendering them uniformly in 1 color?
e.g:
let sampleData = [ { seriesName: 'test2', data: [140, 160], color: [colors.lightNavy, colors.Red], }, ];
So that both the charts have their own individual colors?. I’ve tried passing primaryColor, secondary and other props, but nothing seems to be working. Any help or advice would be appreciated.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
How to Choose Colors for Data Visualizations
Colors are not necessary in a simple bar chart unless they are used for specific emphasis The rainbow bar colors on the left...
Read more >How to Choose the Best Colors For Your Data Charts
Generally, black text is the easiest to read, unless the background of your chart is black or another dark color. In that case,...
Read more >How to optimally use colors in bar charts
A. Coloring by category. Every bar will be colored depending on category it is representing. To apply this type of coloring bind column/row...
Read more >Data Viz Color Palette Generator (for Charts & Dashboards)
Use the palette chooser to create a series of colors that are visually equidistant. This is useful for many data visualizations, like pie...
Read more >Bar Charts
Coloring bars. Let's chart the densities of four precious metals: Above, all colors are the default blue. That's ...
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
Thankyou. Ideally if you can implement a way to pass a colour prop to individual bar charts (not a multiSeries) that would be awesome
i understand what you mean. we’ll try implement individual column gap until next release.
thanks for using our charts. 😃