Qlik Community

Qlik GeoAnalytics Discussions

Discussion Board for collaboration regarding Qlik GeoAnalytics.

Highlighted
dbfg
New Contributor II

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.

Colour mix code.JPGThe complicated code for the colour mix

Map Green.JPGHere is the standard mapSuccessful green drill down uing map.JPGHere is the drill down of that map working properly when the map is clickedUnsuccessful drilldown using filter.JPGThis is what happens when a filter is used to select a region rather than the map itselfUnwanted pink outline.JPGThis is the same awful colour outlining the selected region

1 Solution

Accepted Solutions
Employee
Employee

Re: Map Colour Editing and Filter Issues

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

1 Reply
Employee
Employee

Re: Map Colour Editing and Filter Issues

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