Configuring and using Spider Plots

Toolbar icon

Toolbar icon

When the icon is outlined in green, Spider Plots are active.

Function

Function

On clicking a point while Spider Plots are active, a leg will be drawn to each point that is associated with the clicked point.

NOTE: If the spider legs are not being drawn, there is no relationship or the relationship has not been established.

Creating Spider Plots

Beginning with QlikMaps 3.0, customized expressions are not necessary to build spider plots. Select the spider plots caption under any points layer and select from the drop down the related layer. More information on the simple drop-down can be found at Points - Spider Plot Expression.

For more granular control a Sense expression can be used to create spider plots. The following templates show the expected responses to generate spider plots.

Simple Template

Simple Template

This expression should return a pipe-delimited list of values that define the end points of each spider leg. Each pipe-delimited value should be the dimension of the point to which you want to render the spider leg to.

In the example above, the expression would be in the layer associated with the 'hotel.png' icon. The expression tells QlikMaps to draw a line to each of the SalesmanName (blue markers) associated with the Office (hotel.png). Each SalesmanName is separated by a '|'.

Advanced styling template

Advanced styling template

The above is an example templates for advanced styling of the spider legs. It applies a single type of styles to all spider legs.

Formatting individual spider legs can be achieved by placing a '|' between format values for color, width, style and line. The order of the pipe delimited text for each formatting value must match the order of the 'children' that create the spider legs.

Color

The color parameter alters the color of each spider leg.

A valid expression must return a color in either HEX ("#424242") or CSS-Name ("gold") format. This parameter can be pipe-delimited to apply a different color to individual spider legs, but the number of pipe-delimited color values must match the number of pipe-delimited children values.

Width

The width parameter alters the width in pixels of each spider leg.

A valid expression must return an integer or decimal greater than 0. This parameter can be pipe-delimited to apply a different width to individual spider legs, but the number of pipe-delimited width values must match the number of pipe-delimited children values.

Style

The style parameter alters the geometry of each spider leg, either as a straight line or a bezier curve.

A valid expression must return either straight or curved. This parameter can be pipe-delimited to apply a style to individual spider legs, but the number of pipe-delimited style values must match the number of pipe-delimited children values.

Line

The line parameter alters the style of each spider leg, either a solid, a dashed, or a dotted line.

A valid expression must return either solid, dashed, dotted, or mixed. This parameter can be pipe-delimited to apply a line style to individual spider legs, but the number of pipe-delimited line style values must match the number of pipe-delimited children values.

Children

The children parameter is identical to the simple method of spider plot expression (i.e. a pipe-delimited list of values). You can use the same logic as you previously used for this parameter.