Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Aurelien_Martinez
Partner - Specialist
Partner - Specialist

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
Partner - Specialist
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

4 Replies
Aurelien_Martinez
Partner - Specialist
Partner - Specialist
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!
Aurelien_Martinez
Partner - Specialist
Partner - Specialist
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!