Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
dbfg
Contributor III
Contributor III

Map Colour Editing and Filter Issues

I've been using Geo Analytics pretty consistently on most pages of my apps and it has been really useful. We've recently been doing a bit of an overhaul of our apps to make them look more thematic and well designed, since Qlik isn't really the most attractive BI Software visually and from a customisation perspective.

I downloaded some extensions such as the Qlik Sheet Styler, and have been toying with different designs and ideas. Many of the apps now use a particular colour scheme, so one of the workarounds we needed was to make the map change colour. We achieved this with the ColourMix function, but I've had some issues...

  • When drilling down by region using the map, the colours adapt. However, when I use a filter to select a region, the map turns to this horrible bright pink colour.
  • The same bright pink colour outlines the selected region.

Is there any known way to bypass this default pink colour? Some of my users have a tendency to use the filters for the region as opposed to the map itself.  In the example you'll see, I need this colour to remain consistent.

It would be really good to have more customisation when it comes to colouring the map. At present it's really difficult to achieve. Just look at the code I had to make for the colour mix... Adding this colour mix also seems to break the area layer, so you can't see the scale.

The complicated code for the colour mixThe complicated code for the colour mix

Here is the standard mapHere is the standard mapHere is the drill down of that map working properly when the map is clickedHere is the drill down of that map working properly when the map is clickedThis is what happens when a filter is used to select a region rather than the map itselfThis is what happens when a filter is used to select a region rather than the map itselfThis is the same awful colour outlining the selected regionThis is the same awful colour outlining the selected region

Labels (1)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

When debugging the map, it helps to make a table with the exact dimension and expression as the map and the layers. In many cases the color fails because there is something wrong with the expression

As for the null color it is not possible to style that color with the GeoAnalytics extension map view. However in the new mapchart (based on GeoAnalytics) the null color is taken from the theme and thus possible to style with a theme.

An easier way to do color styling is to make your own theme instead:

https://help.qlik.com/en-US/sense-developer/April2019/Subsystems/Extensions/Content/Sense_Extensions...

The https://sensetheme.com/ is a good way to get started.

 

Thanks,

Patric

View solution in original post

1 Reply
Patric_Nordstrom
Employee
Employee

When debugging the map, it helps to make a table with the exact dimension and expression as the map and the layers. In many cases the color fails because there is something wrong with the expression

As for the null color it is not possible to style that color with the GeoAnalytics extension map view. However in the new mapchart (based on GeoAnalytics) the null color is taken from the theme and thus possible to style with a theme.

An easier way to do color styling is to make your own theme instead:

https://help.qlik.com/en-US/sense-developer/April2019/Subsystems/Extensions/Content/Sense_Extensions...

The https://sensetheme.com/ is a good way to get started.

 

Thanks,

Patric