Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

stascher
Contributor II

Adding color palette options to extension properties

Hi,

I looked around but couldn't find a specific solution to this task.

I'd like to add basic Colors and Legend functionality similar to the what you see below, ie the ability to select a color palette, to a QlikSense extension I'm creating.

palette.png

I'm okay with only using "standard" or "out of the box" Qlik Sense palettes; no need for custom ones.

Is there a way to reuse an existing property to add this functionality to my extension's properties panel or do I have to build the entire Colors and Legend section from scratch?

Optionally, if someone could point me to an example, that'd be awesome.

Thanks,

Steve

1 Solution

Accepted Solutions
stascher
Contributor II

Re: Adding color palette options to extension properties

The solution is to use a properties file similar to what I've attached.

3 Replies
jesper_snihs
Contributor

Re: Adding color palette options to extension properties

Hi,

From what graph type or extension is the example coming from?

stascher
Contributor II

Re: Adding color palette options to extension properties

That particular capture is from a visualization library called VizLib, you can google it.

For my purposes, that's just an example of functionality I've seen in many visualizations including those provided by Qlik so I have to imagine there's a fairly common way to include it in an extension.

stascher
Contributor II

Re: Adding color palette options to extension properties

The solution is to use a properties file similar to what I've attached.

Community Browser