Vizlib Home Try Vizlib
Welcome
Login

Line / Bar chart and Persistent / Consistent Colors

 Hi,

Question here - how exactly do the persistent/consistent colors work for line charts and bar charts? (Note - the terminology is inconsistent between the two objects)

We have noticed that when this is checked, the colors for the lines / bars change, but not in any expected or consistent manner that we can detect.

For example, the following line chart changes colors when the checkbox is applied / removed based on the following custom colors. Note the colors shifting between the years:

='#4477aa,#7db8da,#66ccff,#add8e6'

Consistent colors:

image

without consistent colors:

image

However, a bar chart with the same colors applied and Persistent colors behaves differently:

Persistent Colors:


image

Without Persistent Colors:

image


All we're trying to do here is make the colors consistent across the entire app (and other apps as well) for each year, and this can't be done via the dimension colors because it'd have to be updated every year. I'm kind of lost as to how to achieve this correctly and I'm not sure if this behavior is a bug or not  because I don't fully understand how Consistent/Persistent colors are meant to work.


Thanks!

Login to post a comment