# Configuring and using Radial Plots

## Toolbar icon

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

## Function

On clicking a point while Radial Plots are active, radials will appear on the map centered on the clicked point. You can click on each radial for information.

## Special behavior for Multilayer Objects

NOTE: There are multiple special behaviors for Radial Plots in a Multilayer Object:

1. For any given point from source Point Objects, QlikMaps will use the Radial Plot expression from that source object Radial Plot expression
2. For any pseudo-point that does not come from a source object (added from search results, dropped as a custom marker, etc.), QlikMaps will use the Radial Plot expression from the Multilayer Object
3. Using the `'ntile'` and `'fixed' `methods will incorporate all points across the visible source objects
4. Using the `'contribution'` method will aggregate only the points from the same source object

## Template

The template below is in the Radial Expression for each new Points object in QlikMaps 2.1, listed here for reference.

``````/*
All radial expressions must result in a comma-delimited list of arguments.
The first argument tells QlikMaps which radial method to use.  Subsequent arguments vary by the radial method and are described below.
FIXED METHOD
The FIXED radial method creates radii for every argument given.  By default, QlikMaps assumes that the unit of measurement is miles.
The arguments can be static, or they can be exposed to end users as a variable so they can specify the distances of the radii on the fly.
Example 1: Create radii at 1 mile, 3 mile, 5 mile, and 6 miles
='fixed,1,3,5,6'
Example 2: Create radii at 1 km, 3 km, 5 km, and 6 km.  Show kilometer units of measure in the popups.
='fixedkm,1,3,5,6'

You can keep a running sum of a QlikView expression within each radii by adding a pipe delimitor and two extra comma-delimited expressions:
1) A QlikView expression that you want to use for a running sum
2) OPTIONAL: a string that is used to format the result of the running sum.  Acceptable formats can be found at http://numeraljs.com  Example: Create radii at 1 mile, 3 mile, 5 mile, and 6 miles.  Show a running sum of Receipts in each radius
='fixed,1,3,5,6|' & sum(Receipts) & ', \$0.00 a'
NTILE METHOD
The NTILE radial method only requires one additional argument to tell how many ntile radii to plot.  Ntiles are calculated by a count of points.
Example: Create 3 radii, each having equal counts of points within each radius
='ntile,3'
You can keep a running sum of a QlikView expression within each radii by adding a pipe delimitor and two extra comma-delimited expressions:
1) A QlikView expression that you want to use for a running sum
2) OPTIONAL: a string that is used to format the result of the running sum.  Acceptable formats can be found at http://numeraljs.com  Example: Create 3 radii, each having equal counts of points within each radius; show a running sum of Receipts in each radius
='ntile,3|' & sum(Receipts) & ', \$0.00 a'

CONTRIBUTION METHOD
The CONTRIBUTION radial method is similar to the NTILE method, but whereas the NTILE method only uses a count of points to calculate the radii,
the CONTRIBUTION method uses a running total of an expression to calculate the radii.  It has the following comma-delimited arguments:
1) The number of ntiles you wish to plot
2) A number or expression that is used in a running sum to calculate the ntile radii
3) OPTIONAL: a string that is used to format the result of the running sum.  Acceptable formats can be found at http://numeraljs.com  Example: Create 4 radii, each having an equal sum of Receipts
='contribution,4,' & Sum(Receipts) & ',\$ 0.00 a'
*/``````