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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Qlik Sense extension color

Hi,

It's possible to use Qlik Sense color in extension?

If I'm using custom theme can I use it in the extension, like a standard chart ?

I have find the color picker but in the extension I need to define the palette (And if I use custom theme...)

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!
1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II
Author

With this code, I can use custom colorpicker :

                      tickerColor:{
                        type:"object",
                        component: "color-picker",
                        label: "Tricker Color",
                        ref: "trickerColor",
                        defaultValue: {
                          color: "#ffffff",
                          index: "-1"
                        }
                      }
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

5 Replies
isingh30
Specialist
Specialist

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II
Author

Hi,

Thanks

But in the javascript I need to difine colors like :

var palette = [ "#b0afae", "#7b7a78", "#545352", "#4477aa", "#7db8da", "#b6d7ea", "#46c646", "#f93f17", "#ffcf02", "#276e27", "#ffffff", "#000000" ];


It was fine before the Feb 2018, but now we can change the theme.


Color-picker is great when I want one color, but for multicolor I'm blocked...

Help users find answers! Don't forget to mark a solution that worked for you!
isingh30
Specialist
Specialist

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II
Author

With this code, I can use custom colorpicker :

                      tickerColor:{
                        type:"object",
                        component: "color-picker",
                        label: "Tricker Color",
                        ref: "trickerColor",
                        defaultValue: {
                          color: "#ffffff",
                          index: "-1"
                        }
                      }
Help users find answers! Don't forget to mark a solution that worked for you!
NS_Qlikupdates
Partner - Creator
Partner - Creator

Hi,

Qlik Sense extensions don’t have a built-in way to dynamically use theme-based color palettes, so colors are usually handled within the extension code itself.

To work around this, developers typically manage color logic manually. Tools like SenseOps provide ready-made extensions, but this specific behavior is generally handled at the development level. Know More>>