Ability to set each bar on a bar graph to a different colour #15

theycallmeswift opened this Issue Jun 13, 2012 · 5 comments


None yet
3 participants

Right now the entire graph has to be one colour. Would be sweet if I could just pass in an array for colours and have each bar be the corresponding color.


uiteoi commented Jun 13, 2012

Rule #3 Use color only when needed to serve a particular communication goal.
Rule #4 Use different colors only when they correspond to differences of meaning in the data.



alexyoung commented Jun 14, 2012

You can use multiple colours in the "grouped" charts, which essentially corresponds with those rules you posted

Yeah, but you lose the ability to put a label under each bar with the grouping

The color actually works fine in my case. The bars are events ordered by time from right to left. The problem is that some of them are bad events and need to be easily identified at a glance. So, I thought making them a light shade of red and keeping the rest green would work fine.

alexyoung closed this in cd920d1 Jun 16, 2012

Just saw this today. Thanks for fixing it!


alexyoung commented Aug 6, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment