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

Color Table Coloring by Index from Qlikview color palette

Hi,

I wish to color scatterplot samples based on some index from the qlikview color palette.

Is there a function that allows acces to that pallete e.g. = ColorPalette(<index>)

1 Solution

Accepted Solutions
marcus_sommer

Try it with: color(rowno()).

- Marcus

View solution in original post

4 Replies
marcus_sommer

Try it with: color(rowno()).

- Marcus

chrweber
Creator
Creator
Author

Hi Marcus,

Thank  you, that was embarrassingly simple.

chrweber
Creator
Creator
Author

I wish to build on that statement:

The index is supposed to be the index of another dimension.

The setup:

A scatterplot with coloring by category (e.g. Field with 16 Categories)

marcus_sommer

You could try to use a dual() for your field maybe something like this:

dual(Field, match(Field, Value1, Value2, Value3, ...))

or associate the same logic with another table like:

load * inline [

Field, Fieldindex

Value1, 1

Value2, 2

...

];

and then using this Field respectively the Fieldindex instead of the rowno() from the above example.

Another approach would be Colors in charts.

- Marcus