question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

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:open
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
ahmedu007commented, May 10, 2018

Thankyou. Ideally if you can implement a way to pass a colour prop to individual bar charts (not a multiSeries) that would be awesome

3reactions
kingwang09commented, May 10, 2018

i understand what you mean. we’ll try implement individual column gap until next release.

thanks for using our charts. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found