Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
omyahamburg
Creator II
Creator II

Macro to write Primary Color Expressions

Hi All

In my document I have set some color expressions which base on variables of my R,G and B variables.

In the expression editor these are seen as:

<Document>.Properties.ColorMap[0].PrimaryCol.ColorExpr ==RGB(vColR+1,vColG+26,vColB-12)

<Document>.Properties.ColorMap[1].PrimaryCol.ColorExpr ==RGB(vColR-45,vColG-25,vColB-63)

Is it possible to write these (and additional of course) expressions with a macro into the document

instead of setting them all manually ?

I had a look into the API guide, but frankly speaking, I failed due to my limited understanding of the examples.

Thanks for your help.

Joerg

0 Replies