Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
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
Employee
Employee

I did it in script

View solution in original post

4 Replies
jochem_zw
Employee
Employee

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

I did it in script

sergio0592
Specialist III
Specialist III
Author

Great!! Thank you.