Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sergio0592
Specialist III
Specialist III

Alternate line color

Hi all,

I'd like to make alternate colors for each value of a dimension (ID field in the attached .qvw file). Usualy, i use even() function but  it dont' works in this case because it's not necessary an alternation between even and odd numbers.

Here the expected output. How to achieve this from the attached .qvw?

P1.jpg

Thanks for your help.

1 Solution

Accepted Solutions
jochem_zw
Partner Ambassador
Partner Ambassador

I did it in script

View solution in original post

4 Replies
jochem_zw
Partner Ambassador
Partner Ambassador

But what is the logic for green and yellow?

Why is 85432 for example green? and so on?

Based on the correct logic it should be possible

sergio0592
Specialist III
Specialist III
Author

Hi, the logic is just to get alternate color for each ID with different value.

jochem_zw
Partner Ambassador
Partner Ambassador

I did it in script

sergio0592
Specialist III
Specialist III
Author

Great!! Thank you.